summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-07-23 11:24:35 +0000
committerAntony Dovgal <tony2001@php.net>2008-07-23 11:24:35 +0000
commit55fecd6593bb427a014bee14390a1d889bf7eafa (patch)
tree4d9f061d86bf545fdb272d1808de9fac44263302 /sapi/cli/php_cli.c
parent40b04059f93fb6d6f8109369b61b051595a8d03b (diff)
downloadphp-git-55fecd6593bb427a014bee14390a1d889bf7eafa.tar.gz
invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index ccac5166ec..969d7adcc7 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -517,10 +517,6 @@ static void cli_register_file_handles(TSRMLS_D) /* {{{ */
return;
}
- s_in->flags |= PHP_STREAM_FLAG_FCLOSE;
- s_out->flags |= PHP_STREAM_FLAG_FCLOSE;
- s_err->flags |= PHP_STREAM_FLAG_FCLOSE;
-
#if PHP_DEBUG
/* do not close stdout and stderr */
s_out->flags |= PHP_STREAM_FLAG_NO_CLOSE;