2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-03-30 09:42:47 -06:00
repo/extra/zip/patches/zipnote.patch
2022-09-18 13:04:04 +05:30

17 lines
473 B
Diff

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 */