aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* attack the biggest stack users:Denis Vlasenko2007-12-024-14/+47
| | | | | | | | | | | | | | | | | -mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-172-1/+7
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-162-4/+6
| | | | | which is not really there!
* open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko2007-11-126-17/+19
| | | | | | | text data bss dec hex filename 677858 738 7236 685832 a7708 busybox_old 677804 738 7236 685778 a76d2 busybox_unstripped
* gzip: fix a case where tar xzf fails (we use uninitialized fd)Denis Vlasenko2007-11-121-0/+1
|
* *: remove superfluous "?" in option parsingDenis Vlasenko2007-11-101-1/+1
|
* unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that...Denis Vlasenko2007-11-061-1/+1
|
* telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko2007-11-061-1/+1
| | | | | syslogd: strip trailing NULs
* change safety check on zip header to allow for extra length, andPaul Fox2007-11-051-3/+11
| | | | | | revert the header read to use the correct constant rather than sizeof. at least one version of gcc (armv4-linux-gcc-3.4.1) pads the struct to 28 bytes in spite of the packing.
* Announce 1.8.01_8_0Denis Vlasenko2007-11-041-9/+9
|
* bzip2: make -d actually workDenis Vlasenko2007-10-211-2/+2
|
* unzip: add a comment explaining why we don't dieDenis Vlasenko2007-10-191-0/+2
|
* unzip: fix endianness bugsDenis Vlasenko2007-10-181-100/+113
|
* ash: use fdprintf, not dprintf.Denis Vlasenko2007-10-171-1/+1
| | | | | *: trailing whitespace removed
* bzip2: more of code shrinkDenis Vlasenko2007-10-172-64/+38
| | | | | | | | | | | compressStream 503 473 -30 BZ2_bzCompress 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-108) Total: -108 bytes text data bss dec hex filename 676300 2538 12104 690942 a8afe busybox_old 676192 2538 12104 690834 a8a92 busybox_unstripped
* bzip2: move state pointer to the offset 0 (smaller code)Denis Vlasenko2007-10-163-1/+7
| | | | | | | | | | | | | | | | | | | | | ifdef out DecompressEnd if FEATURE_CLEAN_UP is not seleted fallbackSort 1655 1672 +17 mainSort 2447 2458 +11 bzip2_main 109 119 +10 .rodata 123466 123469 +3 generateMTFValues 433 435 +2 handle_compress 355 356 +1 BZ2_bzCompress 79 78 -1 prepare_new_block 55 48 -7 compressStream 547 503 -44 sendMTFValues 2225 2140 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/4 up/down: 44/-137) Total: -93 bytes text data bss dec hex filename 676421 2538 12104 691063 a8b77 busybox_old 676328 2538 12104 690970 a8b1a busybox_unstripped
* bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko2007-10-161-0/+1
| | | | | telnetd: typo fix in comment
* bzip2: implement -1..-9 command line flagsDenis Vlasenko2007-10-141-7/+30
|
* bzip2: eliminate some divisionsDenis Vlasenko2007-10-143-35/+51
|
* remove trailing whitespaceDenis Vlasenko2007-10-145-20/+20
|
* bzip2: code size shrinkDenis Vlasenko2007-10-141-4/+34
|
* bzip2: remove files which are not used anymoreDenis Vlasenko2007-10-142-190/+0
|
* bzip2: size reduction, to just below 9k.Denis Vlasenko2007-10-147-456/+375
|
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-1316-18/+3233
| | | | | | | 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-1110-13/+13
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* bunzip: small code shrink and consmeticsDenis Vlasenko2007-10-101-22/+28
| | | | | | | | | read_bunzip 276 283 +7 get_bits 184 162 -22 get_next_block 1833 1810 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 7/-45) Total: -38 bytes
* delete now unused check_header_gzip.cDenis Vlasenko2007-10-051-59/+0
| | | | | sum: do not use uintmax needlessly
* add tests for gunzipDenis Vlasenko2007-10-053-0/+94
|
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-056-247/+368
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-9/+9
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-011-1/+1
| | | | | 263 bytes saved.
* bunzip2: trim verbose messagesDenis Vlasenko2007-09-281-3/+3
| | | | | | | | text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-272-3/+2
|
* tar: add a comment about previous subtle fixDenis Vlasenko2007-09-241-6/+7
|
* tar: strip leading '/' BEFORE memorizing hardlink's nameDenis Vlasenko2007-09-241-20/+21
| | | | | | | | function old new delta writeFileToTarball 1362 1352 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10) Total: -10 bytes
* update Glenn McGrath's email addressDenis Vlasenko2007-09-214-5/+4
|
* style fix, no code changesDenis Vlasenko2007-09-094-4/+7
|
* open_transformer: fix vda's goofupDenis Vlasenko2007-09-091-2/+3
|
* overload the existing '-q' flag so that if '-l' and '-q' are usedPaul Fox2007-09-071-11/+19
| | | | | together, a "short form" listing (just pathnames) is generated. change a few flag variables to "smallint" as well.
* tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko2007-09-058-42/+86
| | | | <landau_alex@yahoo.com>)
* tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko2007-09-042-37/+51
| | | | | | | | | | | | | | | works right on Linux, and anyway mayresult only on less-than-clear error message only, it will not cause tar to misbehave. function old new delta open_transformer 98 80 -18 writeTarFile 714 547 -167 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-185) Total: -185 bytes text data bss dec hex filename 770651 1051 10764 782466 bf082 busybox_old 770463 1051 10764 782278 befc6 busybox_unstripped
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-187-10/+10
| | | | | | | | (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
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+2
|
* trylink: automatically use custom link script if user provides oneDenis Vlasenko2007-08-142-5/+5
| | | | | | vinfo_msg: one user (info_msg), incorporate in it *: style fixes
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-136-13/+15
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-125-20/+21
| | | | | | | | | 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
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-242-7/+6
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* rework long option handling. saves ~1.2kDenis Vlasenko2007-07-231-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
* style fix (stray space before ';')Denis Vlasenko2007-07-213-7/+7
|
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped