diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-11-10 23:14:28 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-11-10 23:14:28 +0000 |
commit | 9313e86409e8caa6a108153ec71bcfe892da629e (patch) | |
tree | 00dd9e00fcfa4a7479df7ac5b5bb507fde615c7d /mail/procmail | |
parent | a9fe8f021fda79b983cf633e36982e89299916aa (diff) | |
download | ports-9313e86409e8caa6a108153ec71bcfe892da629e.tar.gz ports-9313e86409e8caa6a108153ec71bcfe892da629e.zip |
Fix realloc arg
Notes
Notes:
svn path=/head/; revision=69865
Diffstat (limited to 'mail/procmail')
-rw-r--r-- | mail/procmail/Makefile | 1 | ||||
-rw-r--r-- | mail/procmail/files/patch-af | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 05246ce9ca82..39d4b2d07720 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -7,6 +7,7 @@ PORTNAME= procmail PORTVERSION= 3.22 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \ ftp://ftp.psg.com/pub/unix/procmail/ \ diff --git a/mail/procmail/files/patch-af b/mail/procmail/files/patch-af new file mode 100644 index 000000000000..1cfe9af851dd --- /dev/null +++ b/mail/procmail/files/patch-af @@ -0,0 +1,11 @@ +--- src/pipes.c.bak Tue Sep 11 08:58:44 2001 ++++ src/pipes.c Mon Nov 11 02:11:49 2002 +@@ -194,7 +194,7 @@ + makeblock(&temp,Stdfilled); + tmemmove(temp.p,Stdout,Stdfilled); + readdyn(&temp,&Stdfilled,Stdfilled+backlen+1); +- Stdout=realloc(Stdout,&Stdfilled+1); ++ Stdout=realloc(Stdout,Stdfilled+1); + tmemmove(Stdout,temp.p,Stdfilled+1); + freeblock(&temp); + retStdout(Stdout,pwait&&pipw,!backblock); |