]> granicus.if.org Git - php/commitdiff
- ZTS fixes
authorDerick Rethans <derick@php.net>
Thu, 17 Mar 2005 07:31:22 +0000 (07:31 +0000)
committerDerick Rethans <derick@php.net>
Thu, 17 Mar 2005 07:31:22 +0000 (07:31 +0000)
#- Andrei, it would be nice if you could test ZTS builds too before you
#  commit...

sapi/cli/php_cli.c

index be00a4c14eb7315fa97ca3ee85289706700100ab..aab039a8f660dfe4c8ee4b7011d165a42c7c90c9 100644 (file)
@@ -395,7 +395,7 @@ static void php_cli_usage(char *argv0)
 }
 /* }}} */
 
-static void define_command_line_ini_entry(char *arg)
+static void define_command_line_ini_entry(char *arg TSRMLS_DC)
 {
        char *name, *value;
 
@@ -661,7 +661,7 @@ int main(int argc, char *argv[])
                        switch (c) {
 
                        case 'd': /* define ini entries on command line */
-                               define_command_line_ini_entry(php_optarg);
+                               define_command_line_ini_entry(php_optarg TSRMLS_CC);
                                break;
 
                        case 'h': /* help & quit */