helly Thu Feb 2 19:02:05 2006 UTC
Modified files:
/php-src/ext/spl spl_directory.c
Log:
- Fix oversight
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_directory.c?r1=1.69&r2=1.70&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.69
php-src/ext/spl/spl_directory.c:1.70
--- php-src/ext/spl/spl_directory.c:1.69 Thu Feb 2 15:10:23 2006
+++ php-src/ext/spl/spl_directory.c Thu Feb 2 19:02:05 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.69 2006/02/02 15:10:23 iliaa Exp $ */
+/* $Id: spl_directory.c,v 1.70 2006/02/02 19:02:05 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -1402,7 +1402,7 @@
if (spl_filesystem_file_open(intern, use_include_path, 0 TSRMLS_CC) ==
SUCCESS) {
p1 = strrchr(intern->file_name, '/');
#if defined(PHP_WIN32) || defined(NETWARE)
- p2 = strrchr(path, '\\');
+ p2 = strrchr(intern->file_name, '\\');
#else
p2 = 0;
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php