Denis Vlasenko
|
1d42665b6b
*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)
|
17 years ago |
Denis Vlasenko
|
62a90cdd74
*: shrink by using [f]open_or_warn_stdin where appropriate
|
17 years ago |
Denis Vlasenko
|
56244736ec
whitespace fixes
|
17 years ago |
Denis Vlasenko
|
04e11c9209
getpot: add support for "a+" specifier for nonnegative int parameters.
|
17 years ago |
Denis Vlasenko
|
9772816570
*: move getopt reset code to better place(s)
|
17 years ago |
Denis Vlasenko
|
ab8c9378c9
more "if (p) free(p)" fixes; fix a typo in comment
|
17 years ago |
Denis Vlasenko
|
737d131e5e
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
|
17 years ago |
Denis Vlasenko
|
6666ac42a5
cp,mv: simpler arg[cv] handling -> smallish code savings
|
17 years ago |
Denis Vlasenko
|
fe7cd642b0
don't pass argc in getopt32, it's superfluous
|
17 years ago |
Denis Vlasenko
|
a0319ba936
hdparm: shrink rodata by ~250 bytes
|
17 years ago |
Denis Vlasenko
|
6a2f7f41cf
whitespace fixes, no code changes
|
17 years ago |
Denis Vlasenko
|
6ca409e0e4
trylink: produce even more info about final link stage
|
17 years ago |
Denis Vlasenko
|
f4cee7a174
getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychu
|
17 years ago |
Denis Vlasenko
|
990d0f63ee
Replace index_in_[sub]str_array with index_in_[sub]strings,
|
17 years ago |
Denis Vlasenko
|
5bfcb4d5ae
getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretending
|
17 years ago |
Denis Vlasenko
|
bdc88fdc68
rework long option handling. saves ~1.2k
|
17 years ago |
Denis Vlasenko
|
091965768d
libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options
|
17 years ago |
Denis Vlasenko
|
b6adbf1be2
usage.c: remove reference to busybox.h
|
17 years ago |
Denis Vlasenko
|
ff131b980d
style fixes. No code changes.
|
17 years ago |
Denis Vlasenko
|
3f3aa2a57d
make xfunctions optionally longjump instead of exit.
|
17 years ago |
Denis Vlasenko
|
8d9f495d68
getopt32: fix llist_t options ordering. llist_rev is not unused.
|
17 years ago |
Denis Vlasenko
|
24af7201e9
fix TODO: getopt32 should reset optind to 1 itself
|
18 years ago |
Denis Vlasenko
|
8e858e2700
clean up accumulated whitespace damage
|
18 years ago |
Denis Vlasenko
|
f7996f3b70
Trailing whitespace removal over entire tree
|
18 years ago |
Denis Vlasenko
|
a597aaddfa
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
|
18 years ago |
Denis Vlasenko
|
d031ffa623
tar: sanitize option handling
|
18 years ago |
Denis Vlasenko
|
f0ed376eda
remove bb_printf and the like
|
18 years ago |
Denis Vlasenko
|
c8400a2162
wget: wget $'-\207' ... should not be allowed to work. ever. :)
|
18 years ago |
Denis Vlasenko
|
456fa6c0b1
readlink: do not emit errors if file doesnt not exist / not a link
|
18 years ago |
Denis Vlasenko
|
c12f53090b
dnsd fix; option_mask32 added. dnsd needs more love.
|
18 years ago |