diff options
| author | Antony Dovgal <tony2001@php.net> | 2008-07-23 09:09:02 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2008-07-23 09:09:02 +0000 |
| commit | 3b07744b28f8271f331e6035f4fe6b0743123b6d (patch) | |
| tree | a6d780415bfd414d2bde7a4fccc8a11930dc217c | |
| parent | 179c59e8f72b5804d1f70a38a06f0234118445d8 (diff) | |
| download | php-git-3b07744b28f8271f331e6035f4fe6b0743123b6d.tar.gz | |
add PHP_STREAM_FLAG_FCLOSE to zip streams
| -rw-r--r-- | ext/zip/zip_stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
