openbsd-ports/archivers/arc/patches/patch-arclzw_c
gsoares 8f400fede0 update archivers/arc to 5.21p
OK jasper@ sthen@
OK wcmaier@ (MAINTAINER) and who wants to drop maintainership
2011-05-23 13:42:10 +00:00

13 lines
436 B
Plaintext

$OpenBSD: patch-arclzw_c,v 1.3 2011/05/23 13:42:10 gsoares Exp $
--- arclzw.c.orig Sat Aug 7 10:06:42 2010
+++ arclzw.c Thu May 19 23:35:46 2011
@@ -560,7 +560,7 @@ decomp(squash, f, t) /* decompress a file */
*/
if (code >= free_ent) {
if (code > free_ent) {
- if (warn) {
+ if (arcwarn) {
printf("Corrupted compressed file.\n");
printf("Invalid code %d when max is %d.\n",
code, free_ent);