From 19d47d9f6ea981c4805572525544e77f0093e289 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 5 Jan 2003 16:10:35 +0000 Subject: [PATCH] Initialize lineno using the new infrastructure --- sapi/cgi/cgi_main.c | 2 +- sapi/cli/php_cli.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index c0e3256e30..c4b71f2c47 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1413,7 +1413,7 @@ consult the installation file that came with this distribution, or visit \n\ while (c != 10 && c != 13) { c = fgetc(file_handle.handle.fp); /* skip to end of line */ } - CG(zend_lineno) = -2; + CG(start_lineno) = 2; } else { rewind(file_handle.handle.fp); } diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 0ed1509596..a98865f531 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -695,7 +695,7 @@ int main(int argc, char *argv[]) while (c != 10 && c != 13) { c = fgetc(file_handle.handle.fp); /* skip to end of line */ } - CG(zend_lineno) = -2; + CG(start_lineno) = 2; } else { rewind(file_handle.handle.fp); } -- 2.50.1