Re: cvs: php4 /ext/standard exec.c

From: Date: Sun, 06 Aug 2000 18:01:05 +0000
Subject: Re: cvs: php4 /ext/standard exec.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1069@lists.php.net to get a copy of this message
On Sun, Aug 06, 2000 at 05:56:57PM -0000, Egon Schmid wrote: > eschmid Sun Aug 6 10:56:57 2000 EDT > > Modified files: > /php4/ext/standard exec.c > Log: > Description from the ChangeLog. Thies, is it correct? no. shell_exec is used for the backtick operator in the engine: $a = /bin/cat /etc/passwd; so it's not a script callable function. the ChangeLog simply mentiones a bug that i fixed in there. tc > > Index: php4/ext/standard/exec.c > diff -u php4/ext/standard/exec.c:1.38 php4/ext/standard/exec.c:1.39 > --- php4/ext/standard/exec.c:1.38 Tue Aug 1 00:22:59 2000 > +++ php4/ext/standard/exec.c Sun Aug 6 10:56:56 2000 > @@ -15,7 +15,7 @@ > | Author: Rasmus Lerdorf | > +----------------------------------------------------------------------+ > */ > -/* $Id: exec.c,v 1.38 2000/08/01 07:22:59 stas Exp $ */ > +/* $Id: exec.c,v 1.39 2000/08/06 17:56:56 eschmid Exp $ */ > > #include <stdio.h> > #include "php.h" > @@ -345,8 +345,8 @@ > } > /* }}} */ > > -/* {{{ proto string shell_exec(strng cmd) > - What excatly is this variant for ??? */ > +/* {{{ proto string shell_exec(string cmd) > + Use pclose() for FILE* that has been opened via popen() */ > PHP_FUNCTION(shell_exec) > { > FILE *in; > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: php-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.cvs (#1069) next »