iliaa Sun Jun 6 12:21:12 2004 EDT
Modified files:
/php-src/ext/standard dir.c
Log:
Fixed bug #28649 (Proper glob() return value on Linux when there are no
matches).
http://cvs.php.net/diff.php/php-src/ext/standard/dir.c?r1=1.138&r2=1.139&ty=u
Index: php-src/ext/standard/dir.c
diff -u php-src/ext/standard/dir.c:1.138 php-src/ext/standard/dir.c:1.139
--- php-src/ext/standard/dir.c:1.138 Tue May 11 09:34:19 2004
+++ php-src/ext/standard/dir.c Sun Jun 6 12:21:11 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dir.c,v 1.138 2004/05/11 13:34:19 iliaa Exp $ */
+/* $Id: dir.c,v 1.139 2004/06/06 16:21:11 iliaa Exp $ */
/* {{{ includes/startup/misc */
@@ -400,7 +400,7 @@
* doesn't. This ensure that if no match is found, an empty
array
* is always returned so it can be used without worrying in
e.g.
* foreach() */
-#if __linux__
+#ifndef __linux__
RETURN_FALSE;
#else
array_init(return_value);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php