1 diff -up php-5.2.17/ext/standard/proc_open.c.bug-60120 php-5.2.17/ext/standard/proc_open.c
2 --- php-5.2.17/ext/standard/proc_open.c.bug-60120 2012-01-12 09:22:27.000000000 +0700
3 +++ php-5.2.17/ext/standard/proc_open.c 2012-01-12 09:22:47.000000000 +0700
4 @@ -453,7 +453,7 @@ PHP_FUNCTION(proc_get_status)
6 /* {{{ handy definitions for portability/readability */
8 -# define pipe(pair) (CreatePipe(&pair[0], &pair[1], &security, 2048L) ? 0 : -1)
9 +# define pipe(pair) (CreatePipe(&pair[0], &pair[1], &security, 0) ? 0 : -1)
11 # define COMSPEC_NT "cmd.exe"
12 # define COMSPEC_9X "command.com"