cvs: php4 /sapi/cli php_cli.c

From: Date: Mon, 03 Feb 2003 07:41:06 +0000
Subject: cvs: php4 /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18374@lists.php.net to get a copy of this message
sebastian Mon Feb 3 02:41:06 2003 EDT Modified files: /php4/sapi/cli php_cli.c Log: Fix ZTS build. Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.63 php4/sapi/cli/php_cli.c:1.64 --- php4/sapi/cli/php_cli.c:1.63 Sun Feb 2 19:22:28 2003 +++ php4/sapi/cli/php_cli.c Mon Feb 3 02:41:05 2003 @@ -429,7 +429,7 @@ /* {{{ cli_seek_file_begin */ -static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno) +static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC) { int c; @@ -820,7 +820,7 @@ ap_php_optind++; } if (script_file) { - if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { + if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) { goto err; } script_filename = script_file; @@ -952,7 +952,7 @@ } } else { if (script_file) { - if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { + if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) { exit_status = 1; } else { CG(start_lineno) = lineno;

« previous php.cvs (#18374) next »