com php-src: Fixed copy/paste mistake: ext/opcache/ZendAccelerator.c
| From: | Dmitry Stogov | Date: | Mon, 25 Mar 2013 09:30:45 +0000 |
| Subject: | com php-src: Fixed copy/paste mistake: ext/opcache/ZendAccelerator.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71738@lists.php.net to get a copy of this message | ||
Commit: f17156c2d1af7e126b92c21d31eef4f18b66821d
Author: Dmitry Stogov <dmitry@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