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

index fffc6fe6e337d8304e7417375f8af559fa08a073..6682ec2d65a6adcd027b078b265194f86463ff03 100644 (file)
@@ -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 */