cvs: php-src(PHP_5_2) /ext/zip zip_stream.c
| From: | Antony Dovgal | Date: | Wed, 23 Jul 2008 09:09:20 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/zip zip_stream.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51428@lists.php.net to get a copy of this message | ||
tony2001 Wed Jul 23 09:09:20 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip zip_stream.c
Log:
MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/zip_stream.c?r1=1.1.2.5&r2=1.1.2.6&diff_format=u
Index: php-src/ext/zip/zip_stream.c
diff -u php-src/ext/zip/zip_stream.c:1.1.2.5 php-src/ext/zip/zip_stream.c:1.1.2.6
--- php-src/ext/zip/zip_stream.c:1.1.2.5 Wed Mar 14 11:08:57 2007
+++ php-src/ext/zip/zip_stream.c Wed Jul 23 09:09:20 2008
@@ -1,4 +1,4 @@
-/* $Id: zip_stream.c,v 1.1.2.5 2007/03/14 11:08:57 pajoye Exp $ */
+/* $Id: zip_stream.c,v 1.1.2.6 2008/07/23 09:09:20 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;
}