]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Sun, 12 Jun 2005 01:15:43 +0000 (01:15 +0000)
committerfoobar <sniper@php.net>
Sun, 12 Jun 2005 01:15:43 +0000 (01:15 +0000)
ext/standard/dir.c

index f40f3d64a0e24b35173404ccdccf64d13084a5c1..bb59b128417cd6ccac55310ea85f19acff1c096c 100644 (file)
@@ -390,12 +390,8 @@ PHP_FUNCTION(glob)
                         * 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() */
-#ifndef __linux__
-                       RETURN_FALSE;
-#else
                        array_init(return_value);
                        return;
-#endif
                }
 #endif
                RETURN_FALSE;