9e3a540b1b
cut: stop using static data. This alone removed ~70 bytes of code. + some optimizations
Denis Vlasenko
2008-07-22 10:34:46 +00:00
a5254032f5
cal: remove lone static data variable. -4 bytes. coreutils is down to four applets with nonzero data+bss.
Denis Vlasenko
2008-07-22 10:10:13 +00:00
b62bd7b261
- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP
Bernhard Reutner-Fischer
2008-07-22 07:33:53 +00:00
1d4cd606a1
- commentary typo fix
Bernhard Reutner-Fischer
2008-07-21 15:29:36 +00:00
d73cbd31a2
- first pass to unify/cleanup uid handling (-236b) This needs further love, alot of love.. Tito?
Bernhard Reutner-Fischer
2008-07-21 14:41:33 +00:00
a53de7f7c2
- fix spelling
Bernhard Reutner-Fischer
2008-07-21 13:46:54 +00:00
e1e5174942
- s/super.block/superblock/g; # for consistency; -1b
Bernhard Reutner-Fischer
2008-07-21 13:33:22 +00:00
a48656b441
printf: fix %b, fix several bugs in %*.*, fix compat issues with aborting too early, support %zd; expand testsuite
Denis Vlasenko
2008-07-18 11:10:51 +00:00
1a715e487d
- fix compilation for mips (Brian Daniels)
Bernhard Reutner-Fischer
2008-07-18 07:42:00 +00:00
7b54dc788c
vi: using array data after it fell out of scope is stupid.
Denis Vlasenko
2008-07-17 21:32:32 +00:00
7354244c4a
sendmail: update from the maintainer
Denis Vlasenko
2008-07-17 19:37:09 +00:00
3b3ca113ed
pidof/killall: allow find_pid_by_name to find running processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat)
Denis Vlasenko
2008-07-17 18:39:36 +00:00
02a1c6a7c3
- very minor shrinkage (-9b)
Bernhard Reutner-Fischer
2008-07-17 15:13:31 +00:00
54d50a0b47
- fix "noreduce" flag of config_read (didn't work at all, at least for me). - convert init's inittab parsing to the new config parser: function old new delta config_read 393 386 -7 static.actions 72 64 -8 .rodata 121772 121764 -8 parse_inittab 554 393 -161 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-184) Total: -184 bytes
Bernhard Reutner-Fischer
2008-07-17 14:00:42 +00:00
679212836a
- fix segfault in nameif with mactab file (by fixing and shrink config parser)
Bernhard Reutner-Fischer
2008-07-17 11:59:13 +00:00
0f683f818c
printf: protect against bogus format specifiers. Hopefully closes bug 4184
Denis Vlasenko
2008-07-17 09:17:51 +00:00
416914fc61
bb_strtoXXX: close bug 4174 (potential use of buf[-1])
Denis Vlasenko
2008-07-17 08:48:13 +00:00
627052e75d
- warn about overlong lines in help-texts I initially bailed out with an error, but then that's a bit rough. Just warn to trick somebody into fixing them..
Bernhard Reutner-Fischer
2008-07-17 08:02:28 +00:00
c185e290ee
config help fixes
Denis Vlasenko
2008-07-16 23:45:11 +00:00
fb1642f2ca
fix up callsites of config_read to check for >= 0
Denis Vlasenko
2008-07-16 23:04:49 +00:00
c01340fe26
update of config file parser from Vladimir
Denis Vlasenko
2008-07-16 22:12:18 +00:00
38e54f1c13
sendmail: do not discard all headers
Denis Vlasenko
2008-07-16 21:55:03 +00:00
4d0cd28947
cpio: make long opts depend only on ENABLE_GETOPT_LONG
Denis Vlasenko
2008-07-16 21:51:43 +00:00
d6817f5d8b
install: do not chown intermediate directories with install -d; shrink (by Natanael Copa)
Denis Vlasenko
2008-07-16 21:49:02 +00:00
395ae45216
hush: delete unused field in struct child. reinstate needed check for invalid syntax. document command parsing in hush_doc.txt.
Denis Vlasenko
2008-07-14 06:29:38 +00:00
17f02e79f4
hush: add case statement support. It is incomplete and disabled for now. costs ~300 bytes when enabled.
Denis Vlasenko
2008-07-14 04:32:29 +00:00
3177ba0852
ash: small code shrink
Denis Vlasenko
2008-07-13 20:39:23 +00:00
adbb73bda7
sleep: if FANCY && DESKTOP, support fractional seconds, minutes, hours and so on. It's coreutils compat. bloatcheck is atrocious :(
Denis Vlasenko
2008-07-12 17:05:14 +00:00
13afb2acda
mv: fix a case when we move dangling symlink
Denis Vlasenko
2008-07-12 11:22:19 +00:00
a87045ce37
mdev: check for "/block/" substring for block dev detection
Denis Vlasenko
2008-07-12 10:28:41 +00:00
d9860487e0
mdev: if device was moved at creation, at removal coreectly remove it from moved location and also remove symlinks to it
Denis Vlasenko
2008-07-12 10:23:16 +00:00
6b7971805c
fuser: a bit of safety in scanf
Denis Vlasenko
2008-07-12 09:32:38 +00:00
a46dd89e94
cpio: internalize archive_xread_all_eof. add a few paranoia checks for corrupted cpio files. modprobe-small: remove stray include route: small code shrink
Denis Vlasenko
2008-07-12 09:20:44 +00:00
2b407b12be
cpio: support some long options; document GNU options
Denis Vlasenko
2008-07-11 21:42:12 +00:00
abe49fa54f
testsuite: uniformly use $ECHO with -n -e
Denis Vlasenko
2008-07-11 21:41:14 +00:00
94884eb486
time: don't segfault with no arguments
Denis Vlasenko
2008-07-11 15:05:51 +00:00
0e52541917
taskset: fix some careless code in both fancy and non-fancy cases. -5 bytes for fancy, +5 for non-fancy
Denis Vlasenko
2008-07-11 13:57:08 +00:00
86090e2599
fix compile failures resulting from last few commits
Denis Vlasenko
2008-07-11 08:23:52 +00:00
3e8fd18037
fix typo in config help text
Denis Vlasenko
2008-07-10 23:42:36 +00:00
0381d422d9
dpkg_deb: slight code shrink ar: reuse existing ar unpacking code get_header_tar: handle autodetection for tiny .tar.gz files too unarchive.h: do not include CONFIGed out things
Denis Vlasenko
2008-07-10 23:06:00 +00:00
b6052724ff
open_transformer: do not return fd, it does not change libbb: adopt zipped read from modprobe-small
Denis Vlasenko
2008-07-10 17:43:01 +00:00
0e2c93fc0b
modprobe-small: make depmod compatible with kernel build. three last commits' sizes combined:
Denis Vlasenko
2008-07-10 14:16:11 +00:00