diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-13 02:01:46 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-13 02:01:46 +0000 |
| commit | f6290bfbfdbfd318d32dec83870568c53d6abbed (patch) | |
| tree | 9aa9255d147ace87678251533b7025a35b1ee820 /sapi/cgi/cgi_main.c | |
| parent | 8733d2dacb21fc438f3281f8808b2838ec73d99f (diff) | |
| download | php-git-f6290bfbfdbfd318d32dec83870568c53d6abbed.tar.gz | |
Don't forget to flush() buffers for -w -s
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index c90a2fc6f8..ebdf9e8ef4 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1573,6 +1573,7 @@ consult the installation file that came with this distribution, or visit \n\ 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; @@ -1584,6 +1585,7 @@ consult the installation file that came with this distribution, or visit \n\ 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; } |
