From: Elizabeth Marie Smith Date: Thu, 31 Jan 2008 02:35:44 +0000 (+0000) Subject: Fix windows build X-Git-Tag: RELEASE_1_3_1~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78a9df9004f1ba03236a000b56afdeac8f78f1fe;p=php Fix windows build --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 477416fd16..e0bd894f58 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -194,7 +194,7 @@ static void spl_filesystem_dir_open(spl_filesystem_object* intern, char *path TS 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);