summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_unchange_archive.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-07 23:24:11 +0000
committerPierre Joye <pajoye@php.net>2008-08-07 23:24:11 +0000
commit490a34220583be5eee4ad2e8be56e9e285ec0e74 (patch)
tree8b67a365ee193b545a0c067c23c478e8d5fcbe06 /ext/zip/lib/zip_unchange_archive.c
parentc94f8b4a1cb303bebc22ca83d09a05064877bf4b (diff)
downloadphp-git-490a34220583be5eee4ad2e8be56e9e285ec0e74.tar.gz
- MFH: update to 0.9 (torrentzip support, files open only when necessary), windows fixes
Diffstat (limited to 'ext/zip/lib/zip_unchange_archive.c')
-rw-r--r--ext/zip/lib/zip_unchange_archive.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/zip/lib/zip_unchange_archive.c b/ext/zip/lib/zip_unchange_archive.c
index b8a85fc9ac..ca2b678544 100644
--- a/ext/zip/lib/zip_unchange_archive.c
+++ b/ext/zip/lib/zip_unchange_archive.c
@@ -1,6 +1,6 @@
/*
zip_unchange_archive.c -- undo global changes to ZIP archive
- Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
+ Copyright (C) 2006-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
@@ -34,7 +34,7 @@
#include <stdlib.h>
-#include "zip.h"
+
#include "zipint.h"
@@ -46,5 +46,7 @@ zip_unchange_archive(struct zip *za)
za->ch_comment = NULL;
za->ch_comment_len = -1;
+ za->ch_flags = za->flags;
+
return 0;
}