Package: zip
Version: 3.0-3
Severity: normal
Tags: patch

Zipnote fails to update archive. The fail is caused by fclose(x), where 'x'
is either undefined or already closed. Simple patch follows.

--- zipnote.c   2008-05-08 10:17:08.000000000 +0200
+++ zipnote-patched.c   2011-05-30 16:10:40.000000000 +0200
@@ -661,7 +661,6 @@
     if ((r = zipcopy(z)) != ZE_OK)
       ziperr(r, "was copying an entry");
   }
-  fclose(x);

   /* Write central directory and end of central directory with new comments */
   if ((c = zftello(y)) == (zoff_t)-1)    /* get start of central */



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zip depends on:
ii  libbz2-1.0                    1.0.5-6    high-quality block-sorting file co
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib

Versions of packages zip recommends:
ii  unzip                         6.0-4      De-archiver for .zip files

zip suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to