diff options
author | ache <ache@FreeBSD.org> | 2002-11-11 07:14:28 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-11-11 07:14:28 +0800 |
commit | c63af319368072be08c84fb4b4fbd6b1b8704446 (patch) | |
tree | f900b51e4902f220cfb6af6a86a840ab2c7f424d /mail/procmail/files | |
parent | 531c2377280792253cfb92255c387ee60ac1794b (diff) | |
download | freebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.tar.gz freebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.tar.zst freebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.zip |
Fix realloc arg
Diffstat (limited to 'mail/procmail/files')
-rw-r--r-- | mail/procmail/files/patch-af | 11 |
1 files changed, 11 insertions, 0 deletions
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); |