cvs: php-src /ext/zip zip_stream.c
| From: | Antony Dovgal | Date: | Wed, 23 Jul 2008 09:09:02 +0000 |
| Subject: | cvs: php-src /ext/zip zip_stream.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51426@lists.php.net to get a copy of this message | ||
tony2001 Wed Jul 23 09:09:02 2008 UTC
Modified files:
/php-src/ext/zip zip_stream.c
Log:
add PHP_STREAM_FLAG_FCLOSE to zip streams
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/zip_stream.c?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/zip/zip_stream.c
diff -u php-src/ext/zip/zip_stream.c:1.6 php-src/ext/zip/zip_stream.c:1.7
--- php-src/ext/zip/zip_stream.c:1.6 Wed Mar 14 11:22:13 2007
+++ php-src/ext/zip/zip_stream.c Wed Jul 23 09:09:02 2008
@@ -1,4 +1,4 @@
-/* $Id: zip_stream.c,v 1.6 2007/03/14 11:22:13 pajoye Exp $ */
+/* $Id: zip_stream.c,v 1.7 2008/07/23 09:09:02 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
@@ -140,6 +140,7 @@
if (!stream) {
return NULL;
} else {
+ stream->flags |= PHP_STREAM_FLAG_FCLOSE;
return stream;
}