svn commit: trunk/busybox/archival
vda at busybox.net
vda at busybox.net
Sun Oct 1 09:44:05 PDT 2006
Author: vda
Date: 2006-10-01 09:44:04 -0700 (Sun, 01 Oct 2006)
New Revision: 16284
Log:
gzip: add a bit of comment. The code itself
is too bloated to work on it...
Modified:
trunk/busybox/archival/gzip.c
Changeset:
Modified: trunk/busybox/archival/gzip.c
===================================================================
--- trunk/busybox/archival/gzip.c 2006-10-01 15:55:11 UTC (rev 16283)
+++ trunk/busybox/archival/gzip.c 2006-10-01 16:44:04 UTC (rev 16284)
@@ -16,7 +16,12 @@
* 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
@@ -125,8 +130,8 @@
#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
@@ -2402,7 +2407,6 @@
/* 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]);
More information about the busybox-cvs
mailing list