cvs: php4 /main output.c

From: Date: Wed, 24 Apr 2002 16:53:08 +0000
Subject: cvs: php4 /main output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11399@lists.php.net to get a copy of this message
stas Wed Apr 24 12:53:08 2002 EDT Modified files: /php4/main output.c Log: Init output_start_* to avoid "output started at ZZZZZ" messages (which may result when output started while zend is neither compiling nor executing - e.g., when file upload fails). Index: php4/main/output.c diff -u php4/main/output.c:1.88 php4/main/output.c:1.89 --- php4/main/output.c:1.88 Mon Mar 4 05:58:00 2002 +++ php4/main/output.c Wed Apr 24 12:53:07 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.88 2002/03/04 10:58:00 jon Exp $ */ +/* $Id: output.c,v 1.89 2002/04/24 16:53:07 stas Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -77,6 +77,8 @@ OG(ob_nesting_level) = 0; OG(ob_lock) = 0; OG(disable_output) = 0; + OG(output_start_filename) = NULL; + OG(output_start_lineno) = 0; }

« previous php.cvs (#11399) next »