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
dee8587d92
Apply post-1.11.0 patches. Bump version to 1.11.1.
Denis Vlasenko
2008-07-11 12:19:14 +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
f62ab2d774
libbb: use improved xmalloc_read() from modprobe-small who: fix compile breakage on some systems modprobe-small: improve Config help text wording
Denis Vlasenko
2008-07-09 09:50:33 +00:00
580ce2d138
mount: support for "-o mand"
Denis Vlasenko
2008-07-08 02:56:53 +00:00
67075bb95f
mdev: reinstate "follow symlinks" flag, this time with explanation
Denis Vlasenko
2008-07-06 17:00:49 +00:00
58f59a25ee
modprobe-small: match aliases with fnmatch(), making shell pattern-specified alias names in module bodies work.
Denis Vlasenko
2008-07-06 11:52:23 +00:00
733e3fbc2f
hush: support "for if in do done then; do echo $if; done" case
Denis Vlasenko
2008-07-06 10:01:13 +00:00
d48e81f0cd
mdev: do not follow symlinks in /sys (as was intended prior to rev 18811). If this breaks things, please document why! mdev,init: use shared code for fd sanitization
Denis Vlasenko
2008-07-06 07:00:11 +00:00
ff182a3d68
hush: support "for v; do ... done" syntax (implied 'in "$@"')
Denis Vlasenko
2008-07-05 20:29:59 +00:00
afdcd12ed7
hush: fix a case where "$@" must expand to no word at all
Denis Vlasenko
2008-07-05 17:40:04 +00:00
a60f84ebf0
*: rename ATTRIBUTE_XXX to just XXX.
Denis Vlasenko
2008-07-05 09:18:54 +00:00
671691cf21
modutils: optional modutils-small by Vladimir Dronnikov. 15kb smaller than standard one. libbb/recursive_action.c: commented-out code for aborting the scan.
Denis Vlasenko
2008-07-04 10:25:44 +00:00