]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #42473 (ob_start php://output and headers)
authorArnaud Le Blanc <lbarnaud@php.net>
Wed, 26 Nov 2008 01:20:31 +0000 (01:20 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Wed, 26 Nov 2008 01:20:31 +0000 (01:20 +0000)
ext/standard/php_fopen_wrapper.c

index a7c685a5800cc0102138b8ddc98e783814e6e843..6aaac4b7a9e13168e469272a6061e225c3d4d968 100644 (file)
@@ -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 */