aboutsummaryrefslogtreecommitdiff
path: root/archival/gzip.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-11-14 11:39:00 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-11-14 11:39:00 +0100
commitf6beef63c64abfc126ea4e73147af29d152f1a9e (patch)
tree71b1f243cda3ab4836219386f017e3d95a7f41d9 /archival/gzip.c
parentac216873095a0d7c30737df5cdfa3bf6c261f079 (diff)
downloadbusybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.tar.gz
busybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.tar.bz2
busybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.zip
archival/*: move "config:" snippets into .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r--archival/gzip.c28
1 files changed, 26 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 5d6fdb91c..1e779c9c3 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -15,7 +15,6 @@
15 * 15 *
16 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 16 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
17 */ 17 */
18
19/* big objects in bss: 18/* big objects in bss:
20 * 00000020 b bl_count 19 * 00000020 b bl_count
21 * 00000074 b base_length 20 * 00000074 b base_length
@@ -31,7 +30,6 @@
31 * 00000480 b static_ltree 30 * 00000480 b static_ltree
32 * 000008f4 b dyn_ltree 31 * 000008f4 b dyn_ltree
33 */ 32 */
34
35/* TODO: full support for -v for DESKTOP 33/* TODO: full support for -v for DESKTOP
36 * "/usr/bin/gzip -v a bogus aa" should say: 34 * "/usr/bin/gzip -v a bogus aa" should say:
37a: 85.1% -- replaced with a.gz 35a: 85.1% -- replaced with a.gz
@@ -39,6 +37,32 @@ gzip: bogus: No such file or directory
39aa: 85.1% -- replaced with aa.gz 37aa: 85.1% -- replaced with aa.gz
40*/ 38*/
41 39
40//config:config GZIP
41//config: bool "gzip"
42//config: default y
43//config: help
44//config: gzip is used to compress files.
45//config: It's probably the most widely used UNIX compression program.
46//config:
47//config:config FEATURE_GZIP_LONG_OPTIONS
48//config: bool "Enable long options"
49//config: default y
50//config: depends on GZIP && LONG_OPTS
51//config: help
52//config: Enable use of long options, increases size by about 106 Bytes
53//config:
54//config:config GZIP_FAST
55//config: int "Trade memory for gzip speed (0:small,slow - 2:fast,big)"
56//config: default 0
57//config: range 0 2
58//config: depends on GZIP
59//config: help
60//config: Enable big memory options for gzip.
61//config: 0: small buffers, small hash-tables
62//config: 1: larger buffers, larger hash-tables
63//config: 2: larger buffers, largest hash-tables
64//config: Larger models may give slightly better compression
65
42//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP)) 66//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
43//kbuild:lib-$(CONFIG_GZIP) += gzip.o 67//kbuild:lib-$(CONFIG_GZIP) += gzip.o
44 68