blob: 30e9d46fc0bd05750aed80990235ab79b77c6b60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-ac,v 1.2 2010/03/03 16:27:57 wiz Exp $
--- inflate.c.orig 2008-07-30 01:31:08.000000000 +0000
+++ inflate.c
@@ -473,7 +473,11 @@ int UZinflate(__G__ is_defl64)
retval = 2;
} else {
/* output write failure */
+#ifdef FUNZIP
+ retval = PK_DISK;
+#else
retval = (G.disk_full != 0 ? PK_DISK : IZ_CTRLC);
+#endif
}
} else {
Trace((stderr, "oops! (inflateBack9() err = %d)\n", err));
@@ -538,7 +542,11 @@ int UZinflate(__G__ is_defl64)
retval = 2;
} else {
/* output write failure */
+#ifdef FUNZIP
+ retval = PK_DISK;
+#else
retval = (G.disk_full != 0 ? PK_DISK : IZ_CTRLC);
+#endif
}
} else {
Trace((stderr, "oops! (inflateBack() err = %d)\n", err));
|