Path: blob/main/archivers/arc/files/patch-arclzw.c
16461 views
--- arclzw.c.orig 2013-06-27 02:00:19 UTC1+++ arclzw.c2@@ -55,9 +55,11 @@ extern u_char *pinbuf;3#define NOT_FND 0xFFFF45extern u_char *pinbuf;6-u_char *inbeg, *inend;7-u_char *outbuf;8-u_char *outbeg, *outend;9+u_char *inbeg;10+u_char *inend;11+extern u_char *outbuf;12+u_char *outbeg;13+extern u_char *outend;1415static int sp; /* current stack pointer */16static int inflag;17@@ -558,7 +560,7 @@ decomp(squash, f, t) /* decompress a file */18*/19if (code >= free_ent) {20if (code > free_ent) {21- if (warn) {22+ if (arcwarn) {23printf("Corrupted compressed file.\n");24printf("Invalid code %d when max is %d.\n",25code, free_ent);262728