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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php