* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-// TODO: full support for -v for DESKTOP
+/* TODO: full support for -v for DESKTOP
+/usr/bin/gzip -v a bogus aa
+a: 85.1% -- replaced with a.gz
+gzip: bogus: No such file or directory
+aa: 85.1% -- replaced with aa.gz
+*/
#define SMALL_MEM
#define ASCII 1
#ifndef WSIZE
-# define WSIZE 0x8000 /* window size--must be a power of two, and */
-#endif /* at least 32K for zip's deflate method */
+# define WSIZE 0x8000 /* window size--must be a power of two, and */
+#endif /* at least 32K for zip's deflate method */
#define MIN_MATCH 3
#define MAX_MATCH 258
/* Write the header to the gzip file. See algorithm.doc for the format */
-
method = DEFLATED;
put_header_byte(GZIP_MAGIC[0]); /* magic header */
put_header_byte(GZIP_MAGIC[1]);