com php-src: Weird, is nobody compiling this?: sapi/apach e/mod_php7.c
| From: | Rasmus Lerdorf | Date: | Fri, 16 Jan 2015 01:44:11 +0000 |
| Subject: | com php-src: Weird, is nobody compiling this?: sapi/apach e/mod_php7.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84124@lists.php.net to get a copy of this message | ||
Commit: a29601a2b448ce13e6fb24fce96b818c965faada
Author: Rasmus Lerdorf <rasmus@php.net> Thu, 15 Jan 2015 17:44:11 -0800
Parents: b46894d1048d4003f197af0f6de883b2930da89f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a29601a2b448ce13e6fb24fce96b818c965faada
Log:
Weird, is nobody compiling this?
Changed paths:
M sapi/apache/mod_php7.c
Diff:
diff --git a/sapi/apache/mod_php7.c b/sapi/apache/mod_php7.c
index 4223efb..27d6579 100644
--- a/sapi/apache/mod_php7.c
+++ b/sapi/apache/mod_php7.c
@@ -565,9 +565,9 @@ static void init_request_info(void)
*/
static int php_apache_alter_ini_entries(php_per_dir_entry *per_dir_entry)
{
- zend_string *key = STR_INIT(per_dir_entry->key, per_dir_entry->key_length, 0);
+ zend_string *key = zend_string_init(per_dir_entry->key, per_dir_entry->key_length, 0);
zend_alter_ini_entry_chars(key, per_dir_entry->value, per_dir_entry->value_length,
per_dir_entry->type, per_dir_entry->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE);
- STR_RELEASE(key);
+ zend_string_release(key);
return 0;
}
/* }}} */