diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-03-04 14:23:19 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-03-04 14:23:19 +0400 |
commit | 59ad6e21eac75fcdd3aeb84b430e32a3366c2fec (patch) | |
tree | 4b042e46f76e90fc14ed63b6a2ad82c6804b540a /zip/patches/07-fclose-in-file-not-fclose-x | |
parent | ceaa1852eeab8151817dc3986136be98d586fa08 (diff) | |
download | cibs-pkgs-59ad6e21eac75fcdd3aeb84b430e32a3366c2fec.tar.gz |
zip 3.0 with Debian patches
Diffstat (limited to 'zip/patches/07-fclose-in-file-not-fclose-x')
-rw-r--r-- | zip/patches/07-fclose-in-file-not-fclose-x | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zip/patches/07-fclose-in-file-not-fclose-x b/zip/patches/07-fclose-in-file-not-fclose-x new file mode 100644 index 0000000..7575279 --- /dev/null +++ b/zip/patches/07-fclose-in-file-not-fclose-x @@ -0,0 +1,16 @@ +From: Christian Spieler +Subject: zipnote.c: Close in_file instead of undefined file x +Bug-Debian: http://bugs.debian.org/628594 +X-Debian-version: 3.0-4 + +--- a/zipnote.c ++++ b/zipnote.c +@@ -661,7 +661,7 @@ + if ((r = zipcopy(z)) != ZE_OK) + ziperr(r, "was copying an entry"); + } +- fclose(x); ++ fclose(in_file); + + /* Write central directory and end of central directory with new comments */ + if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */ |