diff options
author | obrien <obrien@FreeBSD.org> | 2003-07-10 10:14:45 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-07-10 10:14:45 +0800 |
commit | 229435e9cce435b0faf99c3ab853e7ec454ef079 (patch) | |
tree | 1ec9d3191041a41951d9ef55a323b9dd9e507f44 /misc/bidwatcher/files | |
parent | 09cf3cdbd47531f05332e817046430547b28ef9a (diff) | |
download | freebsd-ports-gnome-229435e9cce435b0faf99c3ab853e7ec454ef079.tar.gz freebsd-ports-gnome-229435e9cce435b0faf99c3ab853e7ec454ef079.tar.zst freebsd-ports-gnome-229435e9cce435b0faf99c3ab853e7ec454ef079.zip |
Update to version 1.3.8.
Diffstat (limited to 'misc/bidwatcher/files')
-rw-r--r-- | misc/bidwatcher/files/patch-helpers.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/misc/bidwatcher/files/patch-helpers.cpp b/misc/bidwatcher/files/patch-helpers.cpp deleted file mode 100644 index 525eff1e2e7e..000000000000 --- a/misc/bidwatcher/files/patch-helpers.cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- helpers.cpp.orig Sat Dec 21 00:00:42 2002 -+++ helpers.cpp Sun Dec 29 09:31:01 2002 -@@ -344,13 +344,16 @@ - ////////////////////////////////////////////////////////////////////// - char * StripAndTab(const char * stringToStrip) - { -- char *Buff=(char *)malloc(strlen(stringToStrip)); -- Buff[0]='\0'; - int buffLength = strlen(stringToStrip); - int BuffIdx = 0; - int u,c; - int IncludeFlag = 5; - bool tabFlag = FALSE; -+ if (!buffLength) { -+ ++buffLength; // some malloc's don't handled malloc(0) well -+ } -+ char *Buff=(char *)malloc(buffLength); -+ Buff[0]='\0'; - for (u = 0; (u < buffLength);u++) { - c = stringToStrip[u]; - if (c=='<') { |