606a4be837
This includes many security fixes, improvements for files over 4GB, portability improves, zless, etc.
13 lines
497 B
Text
13 lines
497 B
Text
$NetBSD: patch-aa,v 1.1 2007/11/08 19:26:53 joerg Exp $
|
|
|
|
--- gzip.h.orig 1993-08-13 08:35:00.000000000 +0100
|
|
+++ gzip.h
|
|
@@ -199,6 +199,8 @@ extern int test; /* check .z f
|
|
extern int to_stdout; /* output to stdout (-c) */
|
|
extern int save_orig_name; /* set if original name must be saved */
|
|
|
|
+#define MIN(a,b) ((a) <= (b) ? (a) : (b))
|
|
+
|
|
#define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(0))
|
|
#define try_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(1))
|
|
|