1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to version 1.3.8.

This commit is contained in:
David E. O'Brien 2003-07-10 02:14:45 +00:00
parent 0fe4a68bc3
commit 74b8cff4b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84558
3 changed files with 3 additions and 24 deletions

View File

@ -6,8 +6,8 @@
#
PORTNAME= bidwatcher
PORTVERSION= 1.3.7
PORTREVISION?= 1
PORTVERSION= 1.3.8
PORTREVISION?= 0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1 +1 @@
MD5 (bidwatcher-1.3.7.tar.gz) = cc4a796086b2ceda350764cea164bb83
MD5 (bidwatcher-1.3.8.tar.gz) = 6ab32a75d6c5e081bb0498ca1a0c91da

View File

@ -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=='<') {