Commit:    f17156c2d1af7e126b92c21d31eef4f18b66821d
Author:    Dmitry Stogov <dmi...@zend.com>         Mon, 25 Mar 2013 13:30:45 
+0400
Parents:   0a00d292569a8fbd2d5c96c9d141b23ae916f00b
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=f17156c2d1af7e126b92c21d31eef4f18b66821d

Log:
Fixed copy/paste mistake

Changed paths:
  M  ext/opcache/ZendAccelerator.c


Diff:
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index bfe9d67..694bbed 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -137,7 +137,7 @@ static inline int is_stream_path(const char *filename)
 static inline int is_cachable_stream_path(const char *filename)
 {
        return memcmp(filename, "file://", sizeof("file://") - 1) == 0 ||
-              memcmp(filename, "phar://", sizeof("file://") - 1) == 0;
+              memcmp(filename, "phar://", sizeof("phar://") - 1) == 0;
 }
 
 /* O+ overrides PHP chdir() function and remembers the current working 
directory


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to