Re: [PATCH] ext/standard/tests/general_functions/proc_open.phpt

From: Date: Sat, 03 Aug 2002 14:55:43 +0000
Subject: Re: [PATCH] ext/standard/tests/general_functions/proc_open.phpt
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86492@lists.php.net to get a copy of this message
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 -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 > > >

« previous php.dev (#86492) next »