aboutsummaryrefslogtreecommitdiff
path: root/archival/gzip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* *: whitespace fixesDenys Vlasenko2010-10-281-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-271-11/+5
| | | | | | | | | | | | | | | | | | function old new delta crc32_block_endian1 - 37 +37 crc32_block_endian0 - 34 +34 global_crc32_table - 8 +8 file_read 82 87 +5 gzip_main 211 214 +3 xz_crc32 40 35 -5 crc32_table 8 - -8 calculate_gunzip_crc 54 34 -20 lzo_crc32 54 25 -29 cksum_main 298 211 -87 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/4 up/down: 87/-149) Total: -62 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pipe_progress: make it independent of printf machineryDenys Vlasenko2010-06-061-1/+1
| | | | | | | | | | | | | function old new delta bb_putchar_stderr - 24 +24 ParseField 494 471 -23 progress_meter 212 188 -24 xargs_main 888 842 -46 pipe_progress_main 151 105 -46 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/4 up/down: 24/-139) Total: -115 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* archival/*: shrink by reusing sufficiently similar functionsDenys Vlasenko2010-05-311-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta append_ext - 16 +16 unxz_main 77 83 +6 unlzma_main 77 83 +6 uncompress_main 42 48 +6 gzip_main 184 190 +6 bzip2_main 114 120 +6 bunzip2_main 61 67 +6 bbunpack 469 475 +6 send_tree 355 360 +5 lzop_main 89 92 +3 gunzip_main 61 64 +3 make_new_name_lzop 84 82 -2 make_new_name_gunzip 114 112 -2 make_new_name_unxz 14 - -14 make_new_name_unlzma 14 - -14 make_new_name_uncompress 14 - -14 make_new_name_bunzip2 14 - -14 make_new_name_gzip 17 - -17 make_new_name_bzip2 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/6 grow/shrink: 10/2 up/down: 69/-94) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2010-01-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: style fixes. no code changes (verified with objdump)Denys Vlasenko2010-01-281-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gzip: add optional support for --long-optsMatheus Izvekov2010-01-061-1/+20
| | | | | Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: optimize most of isXXXXX() macrosDenys Vlasenko2009-10-231-2/+2
| | | | | | | | text data bss dec hex filename 824164 453 6812 831429 cafc5 busybox_old 823730 453 6812 830995 cae13 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove some GNUisms. by Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-061-1/+1
| | | | | | | | | | function old new delta logdirs_reopen 1310 1308 -2 read_line_input 4757 4753 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6) Total: -6 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gzip: fix gzip with many files corrupting some files after firstDenys Vlasenko2009-05-181-38/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-2/+2
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* gunzip: restore mtime. approx +80 bytes of codeDenis Vlasenko2008-11-011-1/+2
| | | | | | rpm: make code more robust lsmod: small code shrink
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* support gzip -t and bzip2 -tDenis Vlasenko2008-06-271-2/+3
|
* g[un]zip: accept and ignore -n (needed for kernel compile)Denis Vlasenko2008-03-301-1/+15
|
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-0/+4
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-2/+2
|
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-131-6/+5
| | | | | | | in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-1/+1
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-8/+6
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* style fix (stray space before ';')Denis Vlasenko2007-07-211-4/+4
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-101-1/+1
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* gzip: fix -d option handlingDenis Vlasenko2007-03-221-1/+1
|
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-1/+1
|
* gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko2007-03-151-2/+2
| | | | to optimize better. -480 bytes.
* fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko2007-03-151-2/+0
|
* modify ptr_to_globals trick so that we do not violateDenis Vlasenko2007-03-151-5/+4
| | | | type safety (well, sort of ;))
* gzip: bbunzip integration fixesDenis Vlasenko2007-03-141-172/+19
|
* gzip: use common bbunzip infrastructure - ~700 bytes code lessDenis Vlasenko2007-03-141-86/+85
|
* gzip: reduce global data footprint, part 3Denis Vlasenko2007-03-141-5/+5
|
* gzip: reduce global data footprint, part 2Denis Vlasenko2007-03-141-44/+46
|
* gzip: reduce global data footprint, part 1Denis Vlasenko2007-03-141-446/+463
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-2/+2
|
* gzip cleanup part #13 - the last for today I thinkDenis Vlasenko2007-01-071-144/+111
|
* gzip cleanup part #12Denis Vlasenko2007-01-071-203/+200
|
* gzip cleanup part #11Denis Vlasenko2007-01-071-12/+33
|
* gzip cleanup part #10Denis Vlasenko2007-01-071-353/+341
|
* gzip cleanup part #9Denis Vlasenko2007-01-071-105/+84
|
* gzip cleanup part #8Denis Vlasenko2007-01-071-178/+168
|
* gzip cleanup part #7Denis Vlasenko2007-01-071-5/+5
|
* gzip cleanup part #6Denis Vlasenko2007-01-071-33/+45
|
* gzip cleanup part #5Denis Vlasenko2007-01-071-204/+212
|
* gzip cleanup part #4Denis Vlasenko2007-01-071-35/+39
|