jani Thu Oct 11 09:33:30 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/main safe_mode.c
Log:
- fix typo
http://cvs.php.net/viewvc.cgi/php-src/main/safe_mode.c?r1=1.62.2.1.2.10.2.2&r2=1.62.2.1.2.10.2.3&diff_format=u
Index: php-src/main/safe_mode.c
diff -u php-src/main/safe_mode.c:1.62.2.1.2.10.2.2
php-src/main/safe_mode.c:1.62.2.1.2.10.2.3
--- php-src/main/safe_mode.c:1.62.2.1.2.10.2.2 Thu Oct 11 08:26:13 2007
+++ php-src/main/safe_mode.c Thu Oct 11 09:33:30 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: safe_mode.c,v 1.62.2.1.2.10.2.2 2007/10/11 08:26:13 jani Exp $ */
+/* $Id: safe_mode.c,v 1.62.2.1.2.10.2.3 2007/10/11 09:33:30 jani Exp $ */
#include "php.h"
@@ -89,13 +89,12 @@
#if HAVE_BROKEN_GETCWD
char ftest[MAXPATHLEN];
- strcpy(ftest,filename);
+ strcpy(ftest, filename);
if (VCWD_GETCWD(ftest, sizeof(ftest)) == NULL) {
- strcpy(path,filename);
- } else {
- expand_filepath(filename, path TSRMLS_CC);
- }
+ strcpy(path, filename);
+ } else
#endif
+ expand_filepath(filename, path TSRMLS_CC);
ret = VCWD_STAT(path, &sb);
if (ret < 0) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php