From: Antony Dovgal Date: Wed, 23 Jul 2008 09:09:20 +0000 (+0000) Subject: MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams X-Git-Tag: php-5.2.7RC1~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b54305bc7df8f1be7c07b12be1216823e6618db5;p=php MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams --- diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c index 1f305509ea..1fda9c7eb8 100644 --- a/ext/zip/zip_stream.c +++ b/ext/zip/zip_stream.c @@ -140,6 +140,7 @@ php_stream *php_stream_zip_open(char *filename, char *path, char *mode STREAMS_D if (!stream) { return NULL; } else { + stream->flags |= PHP_STREAM_FLAG_FCLOSE; return stream; }