summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2008-11-26 01:20:31 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2008-11-26 01:20:31 +0000
commit5b4a154a5909bc17573633bebb37e61ed3b0fa55 (patch)
treea7e5fcd7918476b630bd42f6764564a4fa23b710
parent6a6289a90dfeec81abb6100baee9ad7155ffe0b1 (diff)
downloadphp-git-5b4a154a5909bc17573633bebb37e61ed3b0fa55.tar.gz
MFH: Fixed bug #42473 (ob_start php://output and headers)
-rw-r--r--ext/standard/php_fopen_wrapper.c8
1 files changed, 1 insertions, 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 */