patch-src_pipes_c 560 B

12345678910111213
  1. $OpenBSD: patch-src_pipes_c,v 1.2 2009/12/02 22:14:38 ajacoutot Exp $
  2. --- src/pipes.c.orig Tue Sep 11 06:58:44 2001
  3. +++ src/pipes.c Wed Dec 2 23:13:21 2009
  4. @@ -194,7 +194,7 @@ perr: progerr(line,excode,pwait==4); /* I'm goi
  5. makeblock(&temp,Stdfilled);
  6. tmemmove(temp.p,Stdout,Stdfilled);
  7. readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
  8. - Stdout=realloc(Stdout,&Stdfilled+1);
  9. + Stdout=realloc(Stdout,Stdfilled+1);
  10. tmemmove(Stdout,temp.p,Stdfilled+1);
  11. freeblock(&temp);
  12. retStdout(Stdout,pwait&&pipw,!backblock);