2011-05-23 09:42:10 -04:00
|
|
|
$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 */
|
1999-08-12 09:40:51 -04:00
|
|
|
*/
|
|
|
|
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);
|