diff options
author | Antony Dovgal <tony2001@php.net> | 2008-07-23 09:09:10 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-07-23 09:09:10 +0000 |
commit | af00eedf4ad879446a0d420f996986d8552f8084 (patch) | |
tree | bd74493b7fd7e87696918be2f57a7f76a10f8270 | |
parent | 6fcc0ec369d19e3bef23d9d71a14b12eccc37911 (diff) | |
download | php-git-af00eedf4ad879446a0d420f996986d8552f8084.tar.gz |
MFH: 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; } |