diff options
author | Felipe Pena <felipe@php.net> | 2010-06-30 02:30:14 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-06-30 02:30:14 +0000 |
commit | f2419953d98df1bc5537a057825eabd1d07535ac (patch) | |
tree | 701efc76ebfdd0454c6f4b00d0fca7db80bd360f /sapi/cli/php_cli.c | |
parent | 930090b46b5173a7a0ea829459a102e76b22cd9d (diff) | |
download | php-git-f2419953d98df1bc5537a057825eabd1d07535ac.tar.gz |
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
# To commit a new common fix
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index cde66d1e15..8856bf8e6c 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -652,7 +652,6 @@ static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, fseek(file_handle->handle.fp, pos - 1, SEEK_SET); } } - CG(shebang_len) = ftell(file_handle->handle.fp); *lineno = 2; } else { rewind(file_handle->handle.fp); @@ -1088,7 +1087,6 @@ int main(int argc, char *argv[]) script_file=argv[php_optind]; php_optind++; } - CG(shebang_len) = 0; if (script_file) { if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) { goto err; @@ -1328,7 +1326,6 @@ int main(int argc, char *argv[]) exit_status=254; } } else { - CG(shebang_len) = 0; if (script_file) { if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) { exit_status = 1; |