svn: /php/php-src/branches/PHP_5_3/main/ fopen_wrappers.c
| From: | Xinchen Hui | Date: | Tue, 09 Aug 2011 13:04:35 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/main/ fopen_wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65802@lists.php.net to get a copy of this message | ||
laruence Tue, 09 Aug 2011 13:04:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314645
Log:
Fixed built (missing 2nd arg for strncpy)
Changed paths:
U php/php-src/branches/PHP_5_3/main/fopen_wrappers.c
Modified: php/php-src/branches/PHP_5_3/main/fopen_wrappers.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/fopen_wrappers.c 2011-08-09 12:34:15 UTC (rev 314644)
+++ php/php-src/branches/PHP_5_3/main/fopen_wrappers.c 2011-08-09 13:04:35 UTC (rev 314645)
@@ -473,7 +473,7 @@
if (IS_SLASH(path_info[0])) {
length--;
}
- strncpy(filename + length, path_len + 1);
+ strncpy(filename + length, path_info, path_len + 1);
}
} else {
filename = SG(request_info).path_translated;