[PHP-DEV] [PATCH] ext/standard/tests/general_functions/proc_open.phpt
Self explanatory: Index: ext/standard/tests/general_functions/proc_open.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/proc_open.phpt,v retrieving revision 1.1 diff -u -r1.1 proc_open.phpt --- ext/standard/tests/general_functions/proc_open.phpt 23 May 2002 10:46:06 - 1.1 +++ ext/standard/tests/general_functions/proc_open.phpt 3 Aug 2002 13:54:59 - -19,6 +19,11 $ds, $pipes ); +/* As per manual: avoid deadlock */ +for($i=0;$icount($pipes);$i++) +{ + fclose($pipes[$i]); +} proc_close($cat); Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] ext/standard/tests/general_functions/proc_open.phpt
Committed. Thanks! -James On Sat, 3 Aug 2002, Melvyn Sopacua wrote: Self explanatory: Index: ext/standard/tests/general_functions/proc_open.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/proc_open.phpt,v retrieving revision 1.1 diff -u -r1.1 proc_open.phpt --- ext/standard/tests/general_functions/proc_open.phpt 23 May 2002 10:46:06 - 1.1 +++ ext/standard/tests/general_functions/proc_open.phpt 3 Aug 2002 13:54:59 - -19,6 +19,11 $ds, $pipes ); +/* As per manual: avoid deadlock */ +for($i=0;$icount($pipes);$i++) +{ + fclose($pipes[$i]); +} proc_close($cat); Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php