From 5b4a154a5909bc17573633bebb37e61ed3b0fa55 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Wed, 26 Nov 2008 01:20:31 +0000 Subject: [PATCH] MFH: Fixed bug #42473 (ob_start php://output and headers) --- ext/standard/php_fopen_wrapper.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index a7c685a580..6aaac4b7a9 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -48,17 +48,11 @@ static int php_stream_output_close(php_stream *stream, int close_handle TSRMLS_D return 0; } -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 */ -- 2.50.1