[PATCH] ext/standard/tests/general_functions/proc_open.phpt
| From: | Melvyn Sopacua | Date: | Sat, 03 Aug 2002 13:57:40 +0000 |
| Subject: | [PATCH] ext/standard/tests/general_functions/proc_open.phpt | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86490@lists.php.net to get a copy of this message | ||
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 -0000 1.1 +++ ext/standard/tests/general_functions/proc_open.phpt 3 Aug 2002 13:54:59 -0000@@ -19,6 +19,11 @@
$ds,
$pipes
);
+/* As per manual: avoid deadlock */
+for($i=0;$i<count($pipes);$i++)
+{
+ fclose($pipes[$i]);+} proc_close($cat); Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua