From 444a9997de14bb7ffa3b53d825f6e5fa24465eb9 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 18 Aug 2008 07:45:59 +0000 Subject: [PATCH] reverted because it causes lots of test failures in ext/soap --- main/output.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main/output.c b/main/output.c index 97a997a303..5a2b8641d3 100644 --- a/main/output.c +++ b/main/output.c @@ -1275,11 +1275,7 @@ static inline int php_output_stack_pop(int flags TSRMLS_DC) /* pass output along */ if (context.out.data && context.out.used && !(flags & PHP_OUTPUT_POP_DISCARD)) { - /* in case of unclean_shutdown, do not output the buffer if it is not - * meant to be until end of script or ob_end_*() call */ - if (!CG(unclean_shutdown) || orphan->size) { - php_output_write(context.out.data, context.out.used TSRMLS_CC); - } + php_output_write(context.out.data, context.out.used TSRMLS_CC); } /* destroy the handler (after write!) */ -- 2.50.1