com php-src: Fixed ZTS build: ext/opcache/zend_accelerator_ module.c
| From: | Dmitry Stogov | Date: | Tue, 09 Apr 2013 08:03:41 +0000 |
| Subject: | com php-src: Fixed ZTS build: ext/opcache/zend_accelerator_ module.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71895@lists.php.net to get a copy of this message | ||
Commit: 4bf1f3801b26a6c491a5deaeafef0b0b6d175a09
Author: Dmitry Stogov <dmitry@zend.com> Tue, 9 Apr 2013 12:03:41 +0400
Parents: 4cf00c08bde40ff0924b9fd9da4c0eb3d42e2753
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4bf1f3801b26a6c491a5deaeafef0b0b6d175a09
Log:
Fixed ZTS build
Changed paths:
M ext/opcache/zend_accelerator_module.c
Diff:
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c
index 94a6b6b..33ccba5 100644
--- a/ext/opcache/zend_accelerator_module.c
+++ b/ext/opcache/zend_accelerator_module.c
@@ -658,7 +658,7 @@ static ZEND_FUNCTION(opcache_invalidate)
return;
}
- if (zend_accel_invalidate(script_name, script_name_len, force) == SUCCESS) {
+ if (zend_accel_invalidate(script_name, script_name_len, force TSRMLS_CC) == SUCCESS) {
RETURN_TRUE;
} else {
RETURN_FALSE;