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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php