dmitry          Mon Mar 24 09:30:54 2008 UTC

  Modified files:              
    /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.204&r2=1.205&diff_format=u
Index: php-src/main/fopen_wrappers.c
diff -u php-src/main/fopen_wrappers.c:1.204 php-src/main/fopen_wrappers.c:1.205
--- php-src/main/fopen_wrappers.c:1.204 Thu Mar 13 14:10:08 2008
+++ php-src/main/fopen_wrappers.c       Mon Mar 24 09:30:54 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: fopen_wrappers.c,v 1.204 2008/03/13 14:10:08 dmitry Exp $ */
+/* $Id: fopen_wrappers.c,v 1.205 2008/03/24 09:30:54 dmitry Exp $ */
 
 /* {{{ includes
  */
@@ -460,11 +460,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

Reply via email to