tony2001                Thu Jan 18 22:52:32 2007 UTC

  Modified files:              
    /php-src/ext/spl    spl_directory.c 
  Log:
  fix win32 build
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.113&r2=1.114&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.113 
php-src/ext/spl/spl_directory.c:1.114
--- php-src/ext/spl/spl_directory.c:1.113       Thu Jan 18 21:40:18 2007
+++ php-src/ext/spl/spl_directory.c     Thu Jan 18 22:52:32 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_directory.c,v 1.113 2007/01/18 21:40:18 helly Exp $ */
+/* $Id: spl_directory.c,v 1.114 2007/01/18 22:52:32 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -1628,7 +1628,7 @@
                        p1.s = strrchr(intern->file_name.s, '/');
                }
 #if defined(PHP_WIN32) || defined(NETWARE)
-               if (type == IS_UNICODE) {
+               if (intern->file_name_type == IS_UNICODE) {
                        p2.u = u_strrchr(intern->file_name.u, '\\');
                } else {
                        p2.s = strrchr(intern->file_name.s, '\\');

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to