Bernhard Reutner-Fischer [Tue, 24 Feb 2009 10:05:15 +0000 (10:05 -0000)]
- rephrase helptext for clarity
Bernhard Reutner-Fischer [Tue, 24 Feb 2009 10:03:22 +0000 (10:03 -0000)]
- improve wording
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 16:51:25 +0000 (16:51 -0000)]
- by not calling getpagesize() twice we can save 2 bytes (walter harms)
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 16:21:53 +0000 (16:21 -0000)]
- fix typo (thanks to Peter Kjellerstedt for noticing)
Bernhard Reutner-Fischer [Sun, 22 Feb 2009 10:57:23 +0000 (10:57 -0000)]
- Dual-license the config parser also under "LGLPv2.1 or later"
(Vladimir Dronnikov)
Ned Ludd [Fri, 20 Feb 2009 04:56:00 +0000 (04:56 -0000)]
make modutils compile again
Denis Vlasenko [Thu, 19 Feb 2009 01:25:42 +0000 (01:25 -0000)]
depmod: accept and ignore -r (Linux kernle build needs this)
Denis Vlasenko [Thu, 19 Feb 2009 01:17:12 +0000 (01:17 -0000)]
flash_eraseall: shrink
function old new delta
flash_eraseall_main 1044 1006 -38
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 21:09:07 +0000 (21:09 -0000)]
- add big busybox logo as transparent png
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 15:28:43 +0000 (15:28 -0000)]
- bail out if screen resolution does not match PPM dimensions.
Previously a 640x480 PPM on an e.g. 720x400 console would just segfault when
reading the lines. While this bug should perhaps be fixed to handle such cases
properly we just exit gracefully until somebody is willing to take care of it
properly.
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 15:13:05 +0000 (15:13 -0000)]
- document ppm header and skip whitespace
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 14:05:54 +0000 (14:05 -0000)]
- update TODOs
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 13:42:51 +0000 (13:42 -0000)]
- eliminate globals
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 13:26:29 +0000 (13:26 -0000)]
- make it compile and shrink it a little bit (~-110 bytes)
text data bss dec hex filename
1533 4 0 1537 601 miscutils/flash_eraseall.o.old
1415 4 0 1419 58b miscutils/flash_eraseall.o
- add some FIXMEs
Bernhard Reutner-Fischer [Wed, 18 Feb 2009 13:23:46 +0000 (13:23 -0000)]
- add flash_eraseall
This is the result after converting mtd-utils' flash_eraseall to BB.
The functionality given by this patch almost the same except that this
one does not support long options.
I needed this tool a system which does not have a lot of flash for RFS
and merging this into BB as the only way out.
[bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl
function old new delta
flash_eraseall_main - 1072 +1072
show_progress - 62 +62
packed_usage 25156 25176 +20
applet_names 1958 1973 +15
applet_main 2352 2360 +8
target_endian - 4 +4
applet_nameofs 588 590 +2
applet_install_loc 147 148 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes
[bigeasy@]$ size miscutils/flash_eraseall.o
text data bss dec hex filename
1586 4 0 1590 636 miscutils/flash_eraseall.o
Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Bernhard Reutner-Fischer [Mon, 16 Feb 2009 12:36:50 +0000 (12:36 -0000)]
- PPMs can have comments in the header.
Thanks to Denys for pointing that out. (~+7b)
Denis Vlasenko [Sun, 15 Feb 2009 12:40:30 +0000 (12:40 -0000)]
ash: make dot command search current directory first, as bash does.
Denis Vlasenko [Sun, 15 Feb 2009 12:01:14 +0000 (12:01 -0000)]
Make "shadowed" numeric config entries (ones which depend on
other options which are off) to have the value of 0, not "".
Denis Vlasenko [Sun, 15 Feb 2009 05:51:19 +0000 (05:51 -0000)]
volume_id: abort early on read failures.
should help with probing missing fdd's
Denis Vlasenko [Sat, 14 Feb 2009 20:58:13 +0000 (20:58 -0000)]
init: fix compile breakage with '# CONFIG_FEATURE_KILL_REMOVED is not set'
runsvdir.c: fix typo in comment
Bernhard Reutner-Fischer [Sat, 14 Feb 2009 13:17:48 +0000 (13:17 -0000)]
- improve wording
Bernhard Reutner-Fischer [Sat, 14 Feb 2009 12:58:48 +0000 (12:58 -0000)]
- improve helptext
Bernhard Reutner-Fischer [Sat, 14 Feb 2009 12:36:16 +0000 (12:36 -0000)]
- misc untested shrinkage:
$ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped
function old new delta
fbsplash_main 595 985 +390
fb_drawimage 493 - -493
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/0 up/down: 390/-493) Total: -103 bytes
$ size miscutils/fbsplash.o*
text data bss dec hex filename
2019 0 0 2019 7e3 miscutils/fbsplash.o.oorig
1857 0 0 1857 741 miscutils/fbsplash.o.new
Bernhard Reutner-Fischer [Sat, 14 Feb 2009 12:19:37 +0000 (12:19 -0000)]
- improve helptext of obsolete devfs stuff..
Bernhard Reutner-Fischer [Sat, 14 Feb 2009 12:13:13 +0000 (12:13 -0000)]
- cosmetic typo in helptext
Denis Vlasenko [Sat, 14 Feb 2009 01:36:11 +0000 (01:36 -0000)]
killall and sestatus also need ARGVN scanning
Denis Vlasenko [Fri, 13 Feb 2009 00:02:54 +0000 (00:02 -0000)]
mdev: if /sys/class/block exists, don't scan /sys/block
Denis Vlasenko [Sat, 7 Feb 2009 22:30:39 +0000 (22:30 -0000)]
function old new delta
kill_main 706 884 +178
Denis Vlasenko [Thu, 5 Feb 2009 12:38:21 +0000 (12:38 -0000)]
httpd: tiny optimization
Denis Vlasenko [Wed, 4 Feb 2009 23:43:44 +0000 (23:43 -0000)]
httpd:
Kill config options by making them always on:
FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
This makes httpd.c remotely readable - it had ~125 #ifdefs, now it has ~100.
The growth on a .config with all FEATURE_HTTPDs off is:
function old new delta
send_file_and_exit - 269 +269
parse_conf 683 763 +80
free_llist - 32 +32
httpd_main 427 454 +27
sighup_handler - 15 +15
handle_incoming_and_exit 1110 905 -205
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/1 up/down: 423/-205) Total: 218 bytes
Denis Vlasenko [Wed, 4 Feb 2009 00:01:07 +0000 (00:01 -0000)]
sendmail: remove erroneous usage lines
Denis Vlasenko [Tue, 3 Feb 2009 23:59:41 +0000 (23:59 -0000)]
crond,crontab: make cron directory location configurable
Denis Vlasenko [Mon, 2 Feb 2009 23:43:57 +0000 (23:43 -0000)]
telnetd: do not advertise TELNET_LFLOW, we do not support
it properly.
Denis Vlasenko [Mon, 2 Feb 2009 10:48:06 +0000 (10:48 -0000)]
udhcpd: add code which rejects lease files with suspicious or old timestamp.
*: s/time(0)/time(NULL)/g
Denis Vlasenko [Mon, 2 Feb 2009 00:15:57 +0000 (00:15 -0000)]
login: small simplification by Walter Harms. -10 bytes
Denis Vlasenko [Mon, 2 Feb 2009 00:15:00 +0000 (00:15 -0000)]
login: cleanup work by Walter Harms. No logic changes.
Denis Vlasenko [Sun, 1 Feb 2009 00:40:45 +0000 (00:40 -0000)]
dhcpd,dumpleases: write and use 64-bit current time in lease file.
without it, determination of remaining lease time is unreliable.
Yes, it's costly in code size, but without it, dumpleases output
is misleading!
function old new delta
read_leases 143 282 +139
dumpleases_main 447 572 +125
write_leases 193 233 +40
hton64 29 58 +29
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 333/0) Total: 333 bytes
Denis Vlasenko [Sat, 31 Jan 2009 23:33:54 +0000 (23:33 -0000)]
modutils-24: code shrink
function old new delta
helper_create_alloced_section - 117 +117
print_load_map 474 450 -24
bb_init_module_24 4615 4545 -70
obj_create_alloced_section 131 30 -101
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 117/-195) Total: -78 bytes
Denis Vlasenko [Sat, 31 Jan 2009 21:45:57 +0000 (21:45 -0000)]
ionice: new applet, adapted from Linux kernel' example by Walter Harms
text data bss dec hex filename
1050316 924 10952
1062192 103530 busybox_old
1050758 924 10952
1062634 1036ea busybox_unstripped
Denis Vlasenko [Sat, 31 Jan 2009 20:08:21 +0000 (20:08 -0000)]
brctl: fix compilation on 2.4.x kernels
Denis Vlasenko [Sat, 31 Jan 2009 19:26:12 +0000 (19:26 -0000)]
init: remove wait() loop on restart, it may be dangerous
Denis Vlasenko [Sat, 31 Jan 2009 18:55:54 +0000 (18:55 -0000)]
init: fix a bug where on reload order of entries might be wrong
function old new delta
run_shutdown_and_kill_processes - 97 +97
pause_and_low_level_reboot - 48 +48
run_actions 81 107 +26
restart_handler 56 81 +25
new_init_action 137 150 +13
run 576 579 +3
open_stdio_to_tty 110 98 -12
check_delayed_sigs 195 170 -25
waitfor 354 318 -36
low_level_reboot 53 - -53
kill_all_processes 115 - -115
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 4/3 up/down: 212/-241) Total: -29 bytes
Denis Vlasenko [Sat, 31 Jan 2009 14:22:24 +0000 (14:22 -0000)]
modutils-24: use xasprintf and xzalloc where appropriate,
remove unreachanble code
build system: correct some dependencies in config system
init: convert one #if into if() - for Rob.
function old new delta
obj_string_patch 136 129 -7
bb_init_module_24 4759 4615 -144
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-151) Total: -151 bytes
Denis Vlasenko [Sat, 31 Jan 2009 01:07:05 +0000 (01:07 -0000)]
init: small correction in a comment
Denis Vlasenko [Sat, 31 Jan 2009 01:03:45 +0000 (01:03 -0000)]
init: major improvement in documentation and signal handling.
Lots of nasty, but hard to trip, races are fixed.
text data bss dec hex filename
1038828 924 10932
1050684 10083c busybox_old
1038787 924 10932
1050643 100813 busybox_unstripped
Denis Vlasenko [Sat, 31 Jan 2009 01:02:07 +0000 (01:02 -0000)]
init: preparatory patch, no code changes
Denis Vlasenko [Thu, 29 Jan 2009 02:01:04 +0000 (02:01 -0000)]
init: reinstate proper handling of !ENABLE_FEATURE_USE_INITTAB
Denis Vlasenko [Wed, 28 Jan 2009 23:56:31 +0000 (23:56 -0000)]
init: reduce ifdef forest (specially for Rob's happiness)
Bernhard Reutner-Fischer [Tue, 27 Jan 2009 18:54:41 +0000 (18:54 -0000)]
- be gentle to syntax highlighting
Bernhard Reutner-Fischer [Tue, 27 Jan 2009 12:56:33 +0000 (12:56 -0000)]
- update Michele address
Denis Vlasenko [Sun, 25 Jan 2009 01:00:15 +0000 (01:00 -0000)]
awk: in BEGIN section $0 should be "", not "0".
Denis Vlasenko [Sat, 24 Jan 2009 21:23:41 +0000 (21:23 -0000)]
traceroute: allow -w NUM as small as 1
Denis Vlasenko [Sat, 24 Jan 2009 20:14:24 +0000 (20:14 -0000)]
traceroute: rewrite. Do not emit raw IP packets, instead send UDP or ICMP
packets and rely on the kernel to form IP headers, select source IP
and interface. Doing it in traceroute wasn't working too good,
and was bloating it.
function old new delta
freehostinfo 29 - -29
setsin 30 - -30
in_cksum 57 - -57
gethostinfo 165 - -165
ifaddrlist 364 - -364
traceroute_main 3713 2951 -762
------------------------------------------------------------------------------
(add/remove: 0/5 grow/shrink: 0/1 up/down: 0/-1407) Total: -1407 bytes
Denis Vlasenko [Sat, 24 Jan 2009 20:11:36 +0000 (20:11 -0000)]
traceroute: preparatory trivial cleanups
function old new delta
traceroute_main 3932 3713 -219
Denis Vlasenko [Fri, 23 Jan 2009 02:07:14 +0000 (02:07 -0000)]
tunctl: new applet by Vladimir
function old new delta
tunctl_main - 371 +371
packed_usage 25669 25799 +130
applet_names 1981 1988 +7
applet_main 1192 1196 +4
applet_nameofs 596 598 +2
applet_install_loc 149 150 +1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/0 up/down: 515/0) Total: 515 bytes
Bernhard Reutner-Fischer [Thu, 22 Jan 2009 13:27:14 +0000 (13:27 -0000)]
- add CONFIG_EXTRA_CFLAGS (thanks to keesj)
This helps with remembering additional flags like e.g. cpu settings for
people who did not configured their compiler to produce code for their cpu
per default.
Denis Vlasenko [Tue, 20 Jan 2009 02:52:57 +0000 (02:52 -0000)]
tar: stop changing net tarfile's mode, GNU tar doesn't do it
Denis Vlasenko [Mon, 19 Jan 2009 16:38:30 +0000 (16:38 -0000)]
uname: use wider integer for option bits
Denis Vlasenko [Mon, 19 Jan 2009 16:32:23 +0000 (16:32 -0000)]
uname: add support for -i and -o, fix printing of unknown -p
value with -a option
function old new delta
uname_main 166 185 +19
utsname_offset 12 16 +4
options 621 623 +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 25/0) Total: 25 bytes
Denis Vlasenko [Wed, 14 Jan 2009 00:28:03 +0000 (00:28 -0000)]
dhcpc: suppress "warning: 'timestamp_before_wait' might be used uninitialized
Denis Vlasenko [Tue, 13 Jan 2009 15:22:50 +0000 (15:22 -0000)]
libbb: shrink linked list ops (by xmaks AT email.cz)
function old new delta
llist_pop 33 29 -4
llist_unlink 47 28 -19
llist_add_to_end 50 31 -19
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-42) Total: -42 bytes
Denis Vlasenko [Mon, 12 Jan 2009 22:12:22 +0000 (22:12 -0000)]
depmod: fix -b option (by timo.teras AT iki.fi)
function old new delta
xfreopen_write - 35 +35
parse_module 346 353 +7
depmod_main 553 546 -7
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 42/-7) Total: 35 bytes
Denis Vlasenko [Mon, 12 Jan 2009 09:20:49 +0000 (09:20 -0000)]
adduser: allow adding to group 0; don't _create_ /etc/shadow,
only append data if it exists.
function old new delta
adduser_main 642 667 +25
Denis Vlasenko [Mon, 12 Jan 2009 07:57:52 +0000 (07:57 -0000)]
mdev: fix breakage caused by unified parser usage
Bernhard Reutner-Fischer [Sat, 10 Jan 2009 11:36:38 +0000 (11:36 -0000)]
- use https for bugzilla URLs
Bernhard Reutner-Fischer [Fri, 9 Jan 2009 14:49:11 +0000 (14:49 -0000)]
- isascii() is obsolescent in SUSv4 and furthermore looks redundant in this spot
Mike Frysinger [Thu, 8 Jan 2009 17:19:01 +0000 (17:19 -0000)]
do not whine if /sys/block does not exist ... embedded systems dont need stinkin block devices
Denis Vlasenko [Thu, 8 Jan 2009 03:35:47 +0000 (03:35 -0000)]
sysctl: fix another corner case with "dots and slashes"
Denis Vlasenko [Sun, 4 Jan 2009 02:58:58 +0000 (02:58 -0000)]
printf: make integer format strings print long long-sized values.
function old new delta
printf_main 668 834 +166
bb_strtoll - 84 +84
print_direc 391 431 +40
conv_strtoull - 19 +19
conv_strtoll - 19 +19
conv_strtoul 16 - -16
conv_strtol 16 - -16
------------------------------------------------------------------------------
(add/remove: 4/2 grow/shrink: 2/0 up/down: 342/-32) Total: 296 bytes
Denis Vlasenko [Thu, 1 Jan 2009 17:52:09 +0000 (17:52 -0000)]
udhcpd: disable opton to have absolute lease times in lease file
(that does not work with dumpleases)
dumpleases: fix -a option.
networking/udhcp/*: code shrink, more compact static leases struture,
better comments, etc
function old new delta
find_free_or_expired_address - 147 +147
nobody_responds_to_arp - 84 +84
read_opt 781 830 +49
dumpleases_main 435 447 +12
send_ACK 229 232 +3
read_staticlease 90 93 +3
addStaticLease 60 61 +1
getIpByMac 46 43 -3
reservedIp 31 20 -11
keywords 304 288 -16
send_offer 428 403 -25
write_leases 225 193 -32
read_leases 184 143 -41
read_yn 64 - -64
find_address 191 - -191
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 5/6 up/down: 299/-383) Total: -84 bytes
Denis Vlasenko [Wed, 31 Dec 2008 03:43:24 +0000 (03:43 -0000)]
website: announce 1.13.2 amd 1.12.4
Denis Vlasenko [Tue, 30 Dec 2008 10:40:05 +0000 (10:40 -0000)]
dc: fix the "base 2" patch omission of base not being set
Denis Vlasenko [Tue, 30 Dec 2008 05:05:31 +0000 (05:05 -0000)]
libbb: add bb_unsetenv (taken from hush).
udhcpc: stop filtering environment passed to the script.
crond: fix uncovered potential bug (failing unsetenv)
mdev: fix uncovered potential bug (failing unsetenv)
tcp, udpsvd: fix uncovered potential bug (failing unsetenv)
function old new delta
safe_setenv - 58 +58
bb_unsetenv - 55 +55
builtin_unset 139 138 -1
tcpudpsvd_main 1843 1830 -13
free_strings_and_unsetenv 87 53 -34
udhcp_run_script 1186 1133 -53
safe_setenv4 62 - -62
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/4 up/down: 113/-163) Total: -50 bytes
Denis Vlasenko [Mon, 29 Dec 2008 01:03:17 +0000 (01:03 -0000)]
sysctl: fix gcc warning (false positive)
Denis Vlasenko [Fri, 26 Dec 2008 14:56:03 +0000 (14:56 -0000)]
unexpand: fix incorrect expansion, add test for it
function old new delta
expand_main 676 656 -20
Denis Vlasenko [Thu, 25 Dec 2008 01:01:23 +0000 (01:01 -0000)]
s/an user/a user/
Denis Vlasenko [Wed, 24 Dec 2008 03:11:43 +0000 (03:11 -0000)]
*: tweak error messages
sysctl: shrink; support recursing if name is a directory:
"sysctl net.ipv4.conf". Patch by xmaks AT email.cz
text data bss dec hex filename
793659 504 7492 801655 c3b77 busybox_old
793576 504 7492 801572 c3b24 busybox_unstripped
Denis Vlasenko [Tue, 23 Dec 2008 23:36:47 +0000 (23:36 -0000)]
libbb: introduce and use xmalloc_ttyname (-32 in bss).
ash: small code shrink
text data bss dec hex filename
793669 504 7524 801697 c3ba1 busybox_old
793659 504 7492 801655 c3b77 busybox_unstripped
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 17:09:12 +0000 (17:09 -0000)]
- we already have an impl for man
Bernhard Reutner-Fischer [Thu, 18 Dec 2008 00:44:58 +0000 (00:44 -0000)]
Add fancy svn browser thingy (via Lance Albertson of OSL)
Bernhard Reutner-Fischer [Thu, 18 Dec 2008 00:43:31 +0000 (00:43 -0000)]
Update links to new site locations (via Lance Albertson at OSL)
Denis Vlasenko [Mon, 15 Dec 2008 11:26:36 +0000 (11:26 -0000)]
ash: fix CONFIG_ASH_OPTIMIZE_FOR_SIZE off + high-bit chars case
(do we even need CONFIG_ASH_OPTIMIZE_FOR_SIZE conditional?)
Denis Vlasenko [Sun, 14 Dec 2008 15:45:25 +0000 (15:45 -0000)]
expand: fix incorrect expansion exactly on tab boundary; shrink the code
function old new delta
expand_main 698 676 -22
xputchar 53 - -53
Denis Vlasenko [Sun, 14 Dec 2008 14:49:06 +0000 (14:49 -0000)]
watchdog: build fixes, no code changes
Denis Vlasenko [Fri, 12 Dec 2008 02:14:35 +0000 (02:14 -0000)]
header_verbose_list: show off_t size, not cast to (unsigned)
get_header_tar: support GNU tar's "base256" encoding
function old new delta
get_header_tar 1536 1600 +64
header_verbose_list 242 257 +15
Denis Vlasenko [Wed, 10 Dec 2008 14:14:09 +0000 (14:14 -0000)]
libiproute: fix buggy open check: s/if (fd)/if (fd >= 0)/
less: small optimization -15 bytes
Denis Vlasenko [Wed, 10 Dec 2008 11:51:45 +0000 (11:51 -0000)]
ash: printf builtin with no arguments should not exit
Denis Vlasenko [Wed, 10 Dec 2008 11:39:18 +0000 (11:39 -0000)]
mount: make it more readable
Denis Vlasenko [Wed, 10 Dec 2008 11:28:30 +0000 (11:28 -0000)]
placate Rob's qualms about mount.c
Denis Vlasenko [Wed, 10 Dec 2008 11:24:33 +0000 (11:24 -0000)]
add a note that SO_BINDTODEVICE needs padded iface name on 2.6.26
Denis Vlasenko [Wed, 10 Dec 2008 11:16:47 +0000 (11:16 -0000)]
bb_info_msg: make it do atomic, unbuffered writes
udhcpc: fix a problem where we don't open listening socket fast enough
function old new delta
bb_info_msg 70 126 +56
change_listen_mode 37 78 +41
udhcp_listen_socket 151 124 -27
udhcpc_main 2344 2285 -59
Denis Vlasenko [Wed, 10 Dec 2008 11:12:16 +0000 (11:12 -0000)]
*: fix SO_BINDTODEVICE. Kernel wants at least IFNAMSIZ bytes there.
Denis Vlasenko [Tue, 9 Dec 2008 22:53:31 +0000 (22:53 -0000)]
syslogd: comment out file locking;
make signal handling syncronous (old was racy)
function old new delta
syslogd_main 963 1090 +127
quit_signal 96 - -96
log_locally 743 595 -148
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 127/-244) Total: -117 bytes
Denis Vlasenko [Tue, 9 Dec 2008 21:23:31 +0000 (21:23 -0000)]
init: do not eat last char in messages;
do not print duplicate "init:" prefix to syslog
Denis Vlasenko [Mon, 8 Dec 2008 22:56:18 +0000 (22:56 -0000)]
optimize 16- and 32-bit moves
function old new delta
udhcpd_main 1239 1257 +18
udhcp_add_simple_option 93 92 -1
buffer_read_le_u32 19 18 -1
unpack_gz_stream_with_info 526 520 -6
dnsd_main 1470 1463 -7
udhcp_run_script 1208 1186 -22
send_ACK 255 229 -26
arping_main 1661 1623 -38
send_offer 470 428 -42
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
Denis Vlasenko [Sun, 7 Dec 2008 01:16:34 +0000 (01:16 -0000)]
libbb: move crypt_make_salt() to pw_encrypt.c, reuse
bin-to-ascii64 conversion which does not require an array.
function old new delta
to64 29 33 +4
to64_msb_first 63 62 -1
ascii64 65 - -65
Denis Vlasenko [Sun, 7 Dec 2008 00:52:58 +0000 (00:52 -0000)]
Fix forgotten license comments
Denis Vlasenko [Fri, 5 Dec 2008 16:40:36 +0000 (16:40 -0000)]
mount: cosmetics, no code changes (verified with objdump -drsx)
Denis Vlasenko [Fri, 5 Dec 2008 16:23:06 +0000 (16:23 -0000)]
libbb: add xgetgrnam too. ~0 code size change
Denis Vlasenko [Thu, 4 Dec 2008 15:29:35 +0000 (15:29 -0000)]
libbb/crypt: code shrink
function old new delta
to64_msb_first - 63 +63
des_crypt 1509 1338 -171
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 63/-171) Total: -108 bytes