cvs: php-src /ext/standard filestat.c
| From: | Marcus Boerger | Date: | Thu, 18 Jan 2007 22:57:03 +0000 |
| Subject: | cvs: php-src /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42790@lists.php.net to get a copy of this message | ||
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);
}
}