iliaa Tue Aug 12 22:01:59 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/sapi/cgi cgi_main.c Log: MFH: Don't forget to flush() buffers for -w -s Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.190.2.43 php-src/sapi/cgi/cgi_main.c:1.190.2.44 --- php-src/sapi/cgi/cgi_main.c:1.190.2.43 Mon Aug 4 15:05:05 2003 +++ php-src/sapi/cgi/cgi_main.c Tue Aug 12 22:01:59 2003 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.190.2.43 2003/08/04 19:05:05 sas Exp $ */ +/* $Id: cgi_main.c,v 1.190.2.44 2003/08/13 02:01:59 iliaa Exp $ */ #include "php.h" #include "php_globals.h" @@ -1555,6 +1555,7 @@ if (open_file_for_scanning(&file_handle TSRMLS_CC) == SUCCESS) { zend_strip(TSRMLS_C); fclose(file_handle.handle.fp); + php_end_ob_buffers(1 TSRMLS_CC); } return SUCCESS; break; @@ -1566,6 +1567,7 @@ php_get_highlight_struct(&syntax_highlighter_ini); zend_highlight(&syntax_highlighter_ini TSRMLS_CC); fclose(file_handle.handle.fp); + php_end_ob_buffers(1 TSRMLS_CC); } return SUCCESS; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php