forked from Lainports/freebsd-ports
* Switch to variant hosted on https://savannah.nongnu.org * Import patches from Debian Changelog: https://cvs.savannah.nongnu.org/viewvc/fastjar/fastjar/NEWS?revision=1.11&view=markup Originally submitted by swills@ References: https://sources.debian.org/data/main/f/fastjar/2%3A0.98-7/debian/patches/fix-update-mode.diff https://sources.debian.org/data/main/f/fastjar/2%3A0.98-7/debian/patches/jartool.diff PR: 254198 Approved by: portmgr (maintainer timeout, 3+ years)
13 lines
298 B
C
13 lines
298 B
C
--- compress.c.orig 2008-10-15 17:25:36 UTC
|
|
+++ compress.c
|
|
@@ -86,6 +86,10 @@ write_data (int fd, void *buf, size_t len,
|
|
exit(EXIT_FAILURE);
|
|
}
|
|
}
|
|
+ else if (!next && here + len >= end_of_entries)
|
|
+ {
|
|
+ end_of_entries = here + len;
|
|
+ }
|
|
}
|
|
|
|
return write (fd, buf, len);
|