newpkg: ocaml-bigarray-compat (ocaml-ctypes dep)
[arch-packages.git] / procmail / trunk / fix_memory_allocation_bug.diff
blobba95429226a76793a9d8534a87bb90bbc0447abc
1 --- a/src/pipes.c.old 2002-12-02 23:45:15.000000000 +0100
2 +++ b/src/pipes.c 2002-12-02 23:45:24.000000000 +0100
3 @@ -194,7 +194,7 @@
4 makeblock(&temp,Stdfilled);
5 tmemmove(temp.p,Stdout,Stdfilled);
6 readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
7 - Stdout=realloc(Stdout,&Stdfilled+1);
8 + Stdout=realloc(Stdout,Stdfilled+1);
9 tmemmove(Stdout,temp.p,Stdfilled+1);
10 freeblock(&temp);
11 retStdout(Stdout,pwait&&pipw,!backblock);