aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-21getopt: reinstate erroneously removed getopt() reset code.Denis Vlasenko
2008-10-20vi: handle chars 0x80, 0x81... correctlyDenis Vlasenko
2008-10-20dc: conditionalize parts which require libmDenis Vlasenko
2008-10-20ash: fix NOEXEC mode - we were forgetting to pass environment!Denis Vlasenko
env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
2008-10-20ash: fix a bug in standalone mode (corrupted getopt() state)Denis Vlasenko
2008-10-19add comment explaining previous changeDenis Vlasenko
2008-10-19volume identification: abolish /proc/partitions and /proc/cdromsDenis Vlasenko
scanning. It does not catch volume managers and such. Adding even more cruft is bad, so I decided to simply scan /dev/* for any block devices. See how much better it finds devices now: # ./busybox_old blkid /dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061" /dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/sdb1: UUID="6F84-ED0F" # ./busybox blkid /dev/sdb1: UUID="6F84-ED0F" /dev/root: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061" /dev/mapper/VolGroup00-LogVol01: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/mapper/VolGroup00-LogVol00: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" function old new delta static.drive_name_string 12 - -12 append_mount_options 205 190 -15 volume_id_open_node 37 18 -19 uuidcache_check_device 485 257 -228 uuidcache_init 637 36 -601 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-875) Total: -875 bytes text data bss dec hex filename 792218 592 6648 799458 c32e2 busybox_old 791260 592 6648 798500 c2f24 busybox_unstripped
2008-10-19blkid: vda forgot to svn add it again. vda is stupidDenis Vlasenko
2008-10-19Comment and whitespace tweaks.Rob Landley
2008-10-18vi: explain why reading 4 chars is unsafeDenis Vlasenko
2008-10-18libbb: do not reject floating point strings like ".15"Denis Vlasenko
2008-10-18mount: -o parm1 -o parm2 should accumulateDenis Vlasenko
2008-10-18vi: whitespace fixDenis Vlasenko
2008-10-17cpio: fix regression in prev commit (harmless)Denis Vlasenko
2008-10-17data_extract_all: do not complain if directory exists on mkdirDenis Vlasenko
rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main - rpm doesn't want to have that
2008-10-16rpm: fix incompatibilities which prevented rpm -i foo.src.rpmDenis Vlasenko
function old new delta fileaction_setowngrp 57 89 +32
2008-10-16vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.Denis Vlasenko
function old new delta edit_file 901 912 +11 count_lines 74 72 -2 readit 306 289 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 11/-19) Total: -8 bytes
2008-10-16Confirmed that on Linux the serial interrupt takes precedence over the timerRob Landley
interrupt, so we don't need to worry about scheduler delays. This means the delay can be trimmed down to 25 miliseconds. Add comment while at it.
2008-10-15build system: dpkg needs .gz handlingDenis Vlasenko
2008-10-15sysctl: sysctl -a was still misbehaving, fix itDenis Vlasenko
2008-10-15return accidentally deleted "/* vi: set sw=4 ts=4: */"Denis Vlasenko
2008-10-15sysctl: fix bug 3894 _for real_.Denis Vlasenko
2008-10-15sysctl: remove trivial comments. no code changesDenis Vlasenko
2008-10-15sysctl: remove special-cased reporting of EPERM,Denis Vlasenko
common code path gives nearly the same message. -50 bytes
2008-10-15sysctl: fix bug 3894 (by Kryzhanovskyy Maksym)Denis Vlasenko
function old new delta sysctl_dots_to_slashes - 47 +47 sysctl_write_setting 310 298 -12 sysctl_read_setting 296 284 -12 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 47/-24) Total: 23 bytes
2008-10-14vi: fix bizarre formatting. no code changesDenis Vlasenko
2008-10-14hush: add TODODenis Vlasenko
2008-10-14hush: next small step towards functionsDenis Vlasenko
2008-10-14fix recurring "last_cmd overrun", fix [del] handling in insert modeDenis Vlasenko
2008-10-14vi: trivial size optimization -65 bytesDenis Vlasenko
2008-10-14vi: reinstate timeout of 300 msDenis Vlasenko
2008-10-14vi: add comments to Rob's algorithm of reading and matching ESC sequencesDenis Vlasenko
(nice work btw!)
2008-10-14Escape sequences sent over serial links don't come in as a block, so pollRob Landley
needs to pause a bit to make sure the next character has time to come in.
2008-10-14Clean up editors/vi.c:readit() so it only does readahead when actuallyRob Landley
parsing an escape sequence. (This mitigates but doesn't fully fix the the "cursoring around the file deletes data under qemu" bug, presumably due to "\033[D" being treated as three separate characters.)
2008-10-13hush: fix NOMMU bug (analogous to preceding commit for MMU)Denis Vlasenko
2008-10-13testcase for the last fixDenis Vlasenko
2008-10-13hush: fix trashing of environment by local env vars:Denis Vlasenko
a=a; a=b cmd; - a was unset! +57 bytes function old new delta add_string_to_strings - 110 +110 putenv_all - 27 +27 run_list 2086 2111 +25 free_strings - 7 +7 free_pipe 210 208 -2 add_malloced_string_to_strings 110 - -110 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 1/1 up/down: 169/-112) Total: 57 bytes
2008-10-12blkid: new applet. We almost had everything needed for it alreadyDenis Vlasenko
function old new delta display_uuid_cache - 89 +89 blkid_main - 8 +8 applet_names 1871 1877 +6 applet_main 1140 1144 +4 applet_nameofs 570 572 +2 packed_usage 24737 24735 -2 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 109/-2) Total: 107 bytes
2008-10-12findfs: fix LUKS and FAT detection routines; do not exit if corruptedDenis Vlasenko
FAT fs makes us try to seek past volume function old new delta volume_id_get_buffer 301 327 +26 volume_id_probe_luks 79 82 +3 get_attr_volume_id 73 65 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 29/-8) Total: 21 bytes
2008-10-10zcip: code size optimizations, improved help text and commentsDenis Vlasenko
function old new delta packed_usage 24750 24787 +37 run 658 655 -3 pick 40 34 -6 arp 186 177 -9 zcip_main 1402 1356 -46 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 37/-64) Total: -27 bytes
2008-10-09hush: fix environment and memory leaks, add tests for themDenis Vlasenko
function old new delta add_malloced_string_to_strings - 110 +110 run_list 1999 2086 +87 free_strings_and_unsetenv - 87 +87 hush_version_str - 18 +18 pseudo_exec_argv 139 146 +7 static.version_str 17 - -17 free_pipe 237 210 -27 done_word 790 642 -148 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/2 up/down: 309/-192) Total: 117 bytes
2008-10-09unzip: remove example of a file we now can handleDenis Vlasenko
2008-10-09hush: preparatory work for implementing functionsDenis Vlasenko
2008-10-09hush: massive renaming of ill-named structures and fieldsDenis Vlasenko
hush: error out on constructs like: $ abc(def) - was working as if it was (abcdef) $ case b in abc(a|(b) echo YES; esac - was ignoring 'abc' and extra '('
2008-10-07- route metric support (Natanael Copa)Bernhard Reutner-Fischer
Adds about 75b
2008-10-07- add some anchorsBernhard Reutner-Fischer
2008-10-07ash: support &> redirection (bashism). ~90 bytes of codeDenis Vlasenko
2008-10-06ash: some beautification work, no code changesDenis Vlasenko
2008-10-05ash: implement ">&file" bashism. ~100 bytes.Denis Vlasenko
2008-10-04watchdog: WDIOC_SETTIMEOUT accepts seconds, not millisecondsDenis Vlasenko
klogd: handle many lines at once, by Steve Bennett (steveb AT workware.net.au)