summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-06-30 02:30:14 +0000
committerFelipe Pena <felipe@php.net>2010-06-30 02:30:14 +0000
commitf2419953d98df1bc5537a057825eabd1d07535ac (patch)
tree701efc76ebfdd0454c6f4b00d0fca7db80bd360f /sapi/cgi/cgi_main.c
parent930090b46b5173a7a0ea829459a102e76b22cd9d (diff)
downloadphp-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/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 ab6e5edff7..4b47c41484 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -2079,7 +2079,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);
@@ -2094,7 +2093,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);