13 lines
560 B
Plaintext
13 lines
560 B
Plaintext
$OpenBSD: patch-src_pipes_c,v 1.2 2009/12/02 22:14:38 ajacoutot Exp $
|
|
--- src/pipes.c.orig Tue Sep 11 06:58:44 2001
|
|
+++ src/pipes.c Wed Dec 2 23:13:21 2009
|
|
@@ -194,7 +194,7 @@ perr: progerr(line,excode,pwait==4); /* I'm goi
|
|
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);
|