dmitry Mon Mar 24 09:30:41 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/main fopen_wrappers.c Log: Fixed ws and comment http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.175.2.3.2.13.2.8&r2=1.175.2.3.2.13.2.9&diff_format=u Index: php-src/main/fopen_wrappers.c diff -u php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.8 php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.9 --- php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.8 Thu Mar 13 14:09:54 2008 +++ php-src/main/fopen_wrappers.c Mon Mar 24 09:30:41 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.c,v 1.175.2.3.2.13.2.8 2008/03/13 14:09:54 dmitry Exp $ */ +/* $Id: fopen_wrappers.c,v 1.175.2.3.2.13.2.9 2008/03/24 09:30:41 dmitry Exp $ */ /* {{{ includes */ @@ -452,11 +452,11 @@ return NULL; } - /* Don't resolve patches which contain protocol */ + /* Don't resolve paths which contain protocol */ for (p = filename; isalnum((int)*p) || *p == '+' || *p == '-' || *p == '.'; p++); - if ((*p == ':') && (p - filename > 1) && (p[1] == '/') && (p[2] == '/')) { - return NULL; - } + if ((*p == ':') && (p - filename > 1) && (p[1] == '/') && (p[2] == '/')) { + return NULL; + } if ((*filename == '.' && (IS_SLASH(filename[1]) ||
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php