cvs: php-src(PHP_5_3) /ext/spl spl_directory.c
| From: | Elizabeth Marie Smith | Date: | Thu, 31 Jan 2008 02:35:44 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/spl spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48192@lists.php.net to get a copy of this message | ||
auroraeosrose Thu Jan 31 02:35:44 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/spl spl_directory.c
Log:
Fix windows build
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.27.2.23.2.10&r2=1.45.2.27.2.23.2.11&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.10
php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.11
--- php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.10 Wed Jan 30 23:45:12 2008
+++ php-src/ext/spl/spl_directory.c Thu Jan 31 02:35:44 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.10 2008/01/30 23:45:12 helly Exp $ */
+/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.11 2008/01/31 02:35:44 auroraeosrose Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -194,7 +194,7 @@
if (intern->_path_len && (path[intern->_path_len-1] == '/'
#if defined(PHP_WIN32) || defined(NETWARE)
- || path[intern->path_len-1] == '\\'
+ || path[intern->_path_len-1] == '\\'
#endif
)) {
intern->_path = estrndup(path, --intern->_path_len);