From 03b39896a6df71fb0ccf379a9148eba910f6eb84 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 24 Oct 2011 12:39:55 +0000 Subject: - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes --- ext/standard/proc_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/proc_open.c') diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index bc9f7b1ba2..d91699e4ed 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -451,7 +451,7 @@ PHP_FUNCTION(proc_get_status) /* {{{ handy definitions for portability/readability */ #ifdef PHP_WIN32 -# define pipe(pair) (CreatePipe(&pair[0], &pair[1], &security, 2048L) ? 0 : -1) +# define pipe(pair) (CreatePipe(&pair[0], &pair[1], &security, 0) ? 0 : -1) # define COMSPEC_NT "cmd.exe" -- cgit v1.2.1