Not that it matters too much but I think
#ifdef GLOB_NOESCAPE would be more suitable than #ifdef PHP_WIN32
Andi
At 11:44 AM 9/27/2002 +0000, Yasuo Ohgaki wrote:
>yohgaki Fri Sep 27 07:44:42 2002 EDT
>
> Modified files:
> /php4/ext/standard dir.c
> Log:
> No need to define GLOB_NOMATCH.
>
>
>Index: php4/ext/standard/dir.c
>diff -u php4/ext/standard/dir.c:1.102 php4/ext/standard/dir.c:1.103
>--- php4/ext/standard/dir.c:1.102 Thu Sep 26 07:19:26 2002
>+++ php4/ext/standard/dir.c Fri Sep 27 07:44:42 2002
>@@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
>-/* $Id: dir.c,v 1.102 2002/09/26 11:19:26 jan Exp $ */
>+/* $Id: dir.c,v 1.103 2002/09/27 11:44:42 yohgaki Exp $ */
>
> /* {{{ includes/startup/misc */
>
>@@ -134,7 +134,6 @@
> REGISTER_LONG_CONSTANT("GLOB_MARK", GLOB_MARK, CONST_CS |
> CONST_PERSISTENT);
> REGISTER_LONG_CONSTANT("GLOB_NOSORT", GLOB_NOSORT, CONST_CS |
> CONST_PERSISTENT);
> #ifdef PHP_WIN32
>- REGISTER_LONG_CONSTANT("GLOB_NOMATCH", GLOB_NOMATCH, CONST_CS |
>CONST_PERSISTENT);
> REGISTER_LONG_CONSTANT("GLOB_NOESCAPE", GLOB_NOESCAPE, CONST_CS |
> CONST_PERSISTENT);
> #endif
> #endif
>
>
>
>--
>PHP CVS Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php