summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-06-29 11:37:13 +0000
committerFelipe Pena <felipe@php.net>2010-06-29 11:37:13 +0000
commit96bb25e8e7e12ce7186e5417c322f90e09a77b58 (patch)
tree2feb9faa1681fab4a1077a6d600dc3a2a4acd856 /sapi/cgi/cgi_main.c
parent865f85718fae288c2a2023c537000c9d1a9356ed (diff)
downloadphp-git-96bb25e8e7e12ce7186e5417c322f90e09a77b58.tar.gz
- Reverted fix for bug #48930 (due binary compatibility breakage)
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index e7b9874591..da8fed108f 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -2084,7 +2084,6 @@ consult the installation file that came with this distribution, or visit \n\
}
}
- CG(shebang_len) = 0;
if (CGIG(check_shebang_line) && file_handle.handle.fp && (file_handle.handle.fp != stdin)) {
/* #!php support */
c = fgetc(file_handle.handle.fp);
@@ -2099,7 +2098,6 @@ consult the installation file that came with this distribution, or visit \n\
fseek(file_handle.handle.fp, pos - 1, SEEK_SET);
}
}
- CG(shebang_len) = ftell(file_handle.handle.fp);
CG(start_lineno) = 2;
} else {
rewind(file_handle.handle.fp);