iliaa           Sun Jun  6 12:21:31 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src    NEWS 
    /php-src/ext/standard       dir.c 
  Log:
  MFH: Fixed bug #28649 (Proper glob() return value on Linux when there are
  no matches).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.675&r2=1.1247.2.676&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.675 php-src/NEWS:1.1247.2.676
--- php-src/NEWS:1.1247.2.675   Fri Jun  4 11:27:05 2004
+++ php-src/NEWS        Sun Jun  6 12:21:30 2004
@@ -1,6 +1,8 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2004, Version 4.3.8
+- Fixed bug #28649 (Proper glob() return value on Linux when there are no
+  matches). (Ilia)
 - Fixed bug #28632 (Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL).
   (Ilia)
 - Fixed bug #28627 (When multiple MySQL links are used default link is leaked).
http://cvs.php.net/diff.php/php-src/ext/standard/dir.c?r1=1.109.2.16&r2=1.109.2.17&ty=u
Index: php-src/ext/standard/dir.c
diff -u php-src/ext/standard/dir.c:1.109.2.16 php-src/ext/standard/dir.c:1.109.2.17
--- php-src/ext/standard/dir.c:1.109.2.16       Tue May 11 09:34:31 2004
+++ php-src/ext/standard/dir.c  Sun Jun  6 12:21:30 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dir.c,v 1.109.2.16 2004/05/11 13:34:31 iliaa Exp $ */
+/* $Id: dir.c,v 1.109.2.17 2004/06/06 16:21:30 iliaa Exp $ */
 
 /* {{{ includes/startup/misc */
 
@@ -391,7 +391,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

Reply via email to