helly Thu Feb 2 18:59:12 2006 UTC Modified files: (Branch: PHP_5_1) /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.45.2.16&r2=1.45.2.17&diff_format=u Index: php-src/ext/spl/spl_directory.c diff -u php-src/ext/spl/spl_directory.c:1.45.2.16 php-src/ext/spl/spl_directory.c:1.45.2.17 --- php-src/ext/spl/spl_directory.c:1.45.2.16 Thu Feb 2 15:10:04 2006 +++ php-src/ext/spl/spl_directory.c Thu Feb 2 18:59:11 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_directory.c,v 1.45.2.16 2006/02/02 15:10:04 iliaa Exp $ */ +/* $Id: spl_directory.c,v 1.45.2.17 2006/02/02 18:59:11 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -1406,7 +1406,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