From 3b07744b28f8271f331e6035f4fe6b0743123b6d Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 23 Jul 2008 09:09:02 +0000 Subject: [PATCH] add PHP_STREAM_FLAG_FCLOSE to zip streams --- ext/zip/zip_stream.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1