summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix misspelling in commentDenys Vlasenko2010-11-221-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * lineedit: fix tab-completion of filenames with spacesMike Shal2010-11-221-22/+45
| | | | | | | | | | | | | | | | | | | | | | | | Using ash in busybox git version dea28e1e, tab completion doesn't seem to work properly for filenames that have special characters (such as spaces) in them. For example, with filenames "foo bar" and "foo zap", typing "ls fo<TAB>" correctly expands to "ls foo\ ", but then continuing to type "b<TAB>" will produce "ls foo\ bbar", which is not correct (the 'b' is duplicated). Signed-off-by: Mike Shal <marfey@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: create history files with mode 0600Wolfram Sang2010-11-151-5/+7
| | | | | | | | | | Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: remove unused variableLauri Kasanen2010-11-131-4/+3
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * type fix in commentDenys Vlasenko2010-11-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-032-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanupDenys Vlasenko2010-10-293-12/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * unicode: update unicode_width on !unicode branch too. Closes bug 2593Denys Vlasenko2010-10-291-2/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * decompress_bunzip2: handle concatenated .bz2 filesDenys Vlasenko2010-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: use _exit() in sighandlers; showkey: do not use exit-thru-sighandlerMarek Polacek2010-10-281-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | While at it, make ESC sequences more readable; and removed check for isatty(stdin) in reset. Code shrink: text data bss dec hex filename 884771 936 17216 902923 dc70b busybox_old 884723 936 17216 902875 dc6db busybox_unstripped Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-0415-27/+27
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-2815-27/+27
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-046-100/+136
|\|
| * crc32: cleanups, no code changesDenys Vlasenko2010-10-281-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-271-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * libbb/process_escape_sequence.c: fix recently broken handling of \\Denys Vlasenko2010-10-251-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: new appletMarek Polacek2010-10-251-0/+11
| | | | | | | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fdisk: initial stab at GPT partition supportKevin Cernekee2010-10-251-2/+2
| | | | | | | | | | Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha1: small tweak for clearer code, no logic changesDenys Vlasenko2010-10-241-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha1: use Rob's code, it's smaller and fasterDenys Vlasenko2010-10-241-54/+51
| | | | | | | | | | | | | | | | | | | | function old new delta static.rconsts - 16 +16 sha1_process_block64 460 298 -162 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 16/-162) Total: -146 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * awk: fix breakage in last commitDenys Vlasenko2010-10-241-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While at it, made bb_process_escape_sequence faster (same size) function old new delta nextchar 49 53 +4 bb_process_escape_sequence 138 140 +2 next_token 838 839 +1 static.charmap 20 18 -2 is_assignment 143 135 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 7/-10) Total: -3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: introduce and use strcpy_and_process_escape_sequencesDenys Vlasenko2010-10-232-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta strcpy_and_process_escape_sequences - 50 +50 bb_process_escape_sequence 148 138 -10 printf_main 789 776 -13 getty_main 1897 1831 -66 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 50/-89) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e'Nguyễn Thái Ngọc Duy2011-01-041-0/+8
|\| | | | | | | | | Conflicts: coreutils/dos2unix.c
| * *: introduce and use xmkstemp. -65 bytes.Alexander Shishkin2010-10-221-0/+8
| | | | | | | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e^'Nguyễn Thái Ngọc Duy2011-01-042-512/+456
|\|
| * klogd: do not log partial linesDenys Vlasenko2010-10-191-3/+8
| | | | | | | | | | | | | | | | function old new delta overlapping_strcpy 15 18 +3 klogd_main 438 436 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5: remove outdated commentDenys Vlasenko2010-10-191-3/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb/hash_md5_sha: use common ctx and code for md5 and sha1/256Denys Vlasenko2010-10-191-482/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta sha256_process_block64 421 433 +12 md5_crypt 578 587 +9 md5_begin 43 50 +7 md5_hash 99 97 -2 sha1_end 85 82 -3 md5_end 36 31 -5 common64_end 93 86 -7 sha1_hash 97 - -97 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hash_md5_sha: use common finalization routine for MD5 and sha1/256. -15 bytesDenys Vlasenko2010-10-181-78/+85
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'b5aa1d95a158683d936ea41eed0513aa20ed2e74'Nguyễn Thái Ngọc Duy2011-01-042-2/+2
|\| | | | | | | | | Conflicts: libbb/Kbuild.src
| * libbb/hash_sha.c -> libbb/hash_md5_sha.cDenys Vlasenko2010-10-182-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'eb7fe6dbf5bc93a229379a8047539dd8b90e0974'Nguyễn Thái Ngọc Duy2011-01-043-450/+451
|\| | | | | | | | | Conflicts: libbb/Kbuild.src
| * libbb: move md5 and shaN into a common source file. no code changesDenys Vlasenko2010-10-183-450/+451
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'eb7fe6dbf5bc93a229379a8047539dd8b90e0974^'Nguyễn Thái Ngọc Duy2011-01-044-24/+29
|\|
| * md5: length should be stored in *little-endian* order! fixing...Denys Vlasenko2010-10-181-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bitsDenys Vlasenko2010-10-183-15/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * *: use SWAP_BE64 instead of open-coding itDenys Vlasenko2010-10-182-10/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d'Nguyễn Thái Ngọc Duy2011-01-044-3/+3
|\| | | | | | | | | Conflicts: libbb/Kbuild.src
| * libbb: rename hash source files. no code changesDenys Vlasenko2010-10-184-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-047-214/+355
|\|
| * *: replace xopen3 with xopen where makes senseDenys Vlasenko2010-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta uniq_main 421 416 -5 sort_main 803 798 -5 patch_main 2051 2046 -5 cpio_main 547 542 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5: fix biuld failure on big-endian machinesDenys Vlasenko2010-10-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5: code shrink -5 bytesDenys Vlasenko2010-10-171-40/+35
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bring md5 and sha1 names closer. no code changesDenys Vlasenko2010-10-172-50/+42
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5: code shrinkDenys Vlasenko2010-10-172-30/+25
| | | | | | | | | | | | | | function old new delta md5_end 125 104 -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * shaN: code shrinkDenys Vlasenko2010-10-171-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta init512_lo 32 40 +8 init256 32 40 +8 sha256_begin 42 28 -14 sha512_begin 81 53 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 16/-42) Total: -26 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixDenys Vlasenko2010-10-161-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha512: inline rotr64Denys Vlasenko2010-10-161-57/+51
| | | | | | | | | | | | | | function old new delta sha1_process_block64 461 446 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * shaN: small code shrinkDenys Vlasenko2010-10-162-50/+126
| | | | | | | | | | | | | | | | function old new delta sha512_hash 134 128 -6 sha1_hash 114 106 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5: fix "fast" md5 broken by prev commitDenys Vlasenko2010-10-161-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>