cvs: php-src(PHP_5_1) /ext/standard basic_functions.c

From: Date: Thu, 23 Feb 2006 03:51:46 +0000
Subject: cvs: php-src(PHP_5_1) /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36994@lists.php.net to get a copy of this message
bfrance Thu Feb 23 03:51:46 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard basic_functions.c Log: MFH: fixed bug #35594 for all systems. "optind = 0" doesn't work on FreeBSD, but "optind = 1" seems to work on all systems (bug #36091) http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.23&r2=1.725.2.24&diff_format=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.725.2.23 php-src/ext/standard/basic_functions.c:1.725.2.24 --- php-src/ext/standard/basic_functions.c:1.725.2.23 Tue Feb 21 15:32:06 2006 +++ php-src/ext/standard/basic_functions.c Thu Feb 23 03:51:46 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.725.2.23 2006/02/21 15:32:06 iliaa Exp $ */ +/* $Id: basic_functions.c,v 1.725.2.24 2006/02/23 03:51:46 bfrance Exp $ */ #include "php.h" #include "php_streams.h" @@ -1667,7 +1667,7 @@ opterr = 0; /* Force reinitialization of getopt() (via optind reset) on every call. */ - optind = 0; + optind = 1; /* Invoke getopt(3) on the argument array. */ #ifdef HARTMUT_0

« previous php.cvs (#36994) next »