2
0

007-fclose-in-file-not-fclose-x.patch 513 B

12345678910111213141516
  1. From: Christian Spieler
  2. Subject: zipnote.c: Close in_file instead of undefined file x
  3. Bug-Debian: http://bugs.debian.org/628594
  4. X-Debian-version: 3.0-4
  5. --- a/zipnote.c
  6. +++ b/zipnote.c
  7. @@ -661,7 +661,7 @@ char **argv; /* command line
  8. if ((r = zipcopy(z)) != ZE_OK)
  9. ziperr(r, "was copying an entry");
  10. }
  11. - fclose(x);
  12. + fclose(in_file);
  13. /* Write central directory and end of central directory with new comments */
  14. if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */