mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
ad8c2d6099
One image requires a zip compressed image, so add the zip util found in the packages feed, and extend it with some useful debian patches. Signed-off-by: Mathias Kresin <dev@kresin.me>
17 lines
513 B
Diff
17 lines
513 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 @@ char **argv; /* command line
|
|
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 */
|