helly Thu Jan 18 22:57:03 2007 UTC
Modified files:
/php-src/ext/standard filestat.c
Log:
- Use correct string inunicode mode
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.156&r2=1.157&diff_format=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.156
php-src/ext/standard/filestat.c:1.157
--- php-src/ext/standard/filestat.c:1.156 Tue Jan 16 22:10:25 2007
+++ php-src/ext/standard/filestat.c Thu Jan 18 22:57:03 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.156 2007/01/16 22:10:25 helly Exp $ */
+/* $Id: filestat.c,v 1.157 2007/01/18 22:57:03 helly Exp $ */
#include "php.h"
#include "fopen_wrappers.h"
@@ -762,7 +762,7 @@
if (FAILURE == php_stream_path_encode(NULL, &fn,
&filename_length, filename.u, filename_length, REPORT_ERRORS, context)) {
RETURN_FALSE;
}
- php_stat(filename.s, filename_length, type, return_value
TSRMLS_CC);
+ php_stat(fn, filename_length, type, return_value TSRMLS_CC);
efree(fn);
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php