From: Arnaud Le Blanc Date: Wed, 26 Nov 2008 01:20:10 +0000 (+0000) Subject: Fixed bug #42473 (ob_start php://output and headers) X-Git-Tag: BEFORE_HEAD_NS_CHANGES_MERGE~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9891ad135fd6dcd6fcecab327eb259ef0492d24d;p=php Fixed bug #42473 (ob_start php://output and headers) --- diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index fffc6fe6e3..6682ec2d65 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -51,18 +51,11 @@ static int php_stream_output_close(php_stream *stream, int close_handle TSRMLS_D } /* }}} */ -static int php_stream_output_flush(php_stream *stream TSRMLS_DC) /* {{{ */ -{ - sapi_flush(TSRMLS_C); - return 0; -} -/* }}} */ - php_stream_ops php_stream_output_ops = { php_stream_output_write, php_stream_output_read, php_stream_output_close, - php_stream_output_flush, + NULL, /* flush */ "Output", NULL, /* seek */ NULL, /* cast */