cvs: php-src /ext/standard file.c
| From: | Antony Dovgal | Date: | Sun, 16 Jul 2006 15:54:25 +0000 |
| Subject: | cvs: php-src /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39272@lists.php.net to get a copy of this message | ||
tony2001 Sun Jul 16 15:54:25 2006 UTC
Modified files:
/php-src/ext/standard file.c
Log:
all stream functions are actually macros that already have TSRMLS_CC,
no need to pass it manually
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.448&r2=1.449&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.448 php-src/ext/standard/file.c:1.449
--- php-src/ext/standard/file.c:1.448 Sat Jul 15 14:31:51 2006
+++ php-src/ext/standard/file.c Sun Jul 16 15:54:25 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.448 2006/07/15 14:31:51 helly Exp $ */
+/* $Id: file.c,v 1.449 2006/07/16 15:54:25 tony2001 Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -2422,7 +2422,7 @@
UChar *path;
int path_len;
- if (php_stream_path_decode(&php_plain_files_wrapper, &path, &path_len, filename,
filename_len, REPORT_ERRORS, FG(default_context) TSRMLS_CC) == SUCCESS) {
+ if (php_stream_path_decode(&php_plain_files_wrapper, &path, &path_len, filename,
filename_len, REPORT_ERRORS, FG(default_context)) == SUCCESS) {
RETVAL_UNICODEL(path, path_len, 0);
} else {
RETVAL_FALSE;