cvs: php4 /sapi/cgi cgi_main.c
| From: | Stanislav Malyshev | Date: | Tue, 31 Oct 2000 16:16:57 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2383@lists.php.net to get a copy of this message | ||
stas Tue Oct 31 08:16:57 2000 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
Fix -d functionality
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.80 php4/sapi/cgi/cgi_main.c:1.81
--- php4/sapi/cgi/cgi_main.c:1.80 Sun Oct 29 08:02:40 2000
+++ php4/sapi/cgi/cgi_main.c Tue Oct 31 08:16:57 2000
@@ -336,7 +336,7 @@
} else {
value = "1";
}
- zend_alter_ini_entry(name, strlen(name), value, strlen(value), PHP_INI_SYSTEM,
PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry(name, strlen(name)+1, value, strlen(value), PHP_INI_SYSTEM,
PHP_INI_STAGE_ACTIVATE);
}