Denis Vlasenko
|
765c1c3c31
getopt32: fix "tar x" case; fix memory leak
|
16 anos atrás |
Denis Vlasenko
|
9137341851
getopt32: fix recently broken opt_complementary "--"
|
16 anos atrás |
Denis Vlasenko
|
b12b1c87b5
Splitting xfuncs.c into two parts. No code chabges.
|
16 anos atrás |
Denis Vlasenko
|
468aea2d88
shells: do not frocibly enable test, echo and kill _applets_,
|
16 anos atrás |
Denis Vlasenko
|
1d42665b6b
*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)
|
16 anos atrás |
Denis Vlasenko
|
62a90cdd74
*: shrink by using [f]open_or_warn_stdin where appropriate
|
16 anos atrás |
Denis Vlasenko
|
56244736ec
whitespace fixes
|
17 anos atrás |
Denis Vlasenko
|
04e11c9209
getpot: add support for "a+" specifier for nonnegative int parameters.
|
17 anos atrás |
Denis Vlasenko
|
9772816570
*: move getopt reset code to better place(s)
|
17 anos atrás |
Denis Vlasenko
|
ab8c9378c9
more "if (p) free(p)" fixes; fix a typo in comment
|
17 anos atrás |
Denis Vlasenko
|
737d131e5e
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
|
17 anos atrás |
Denis Vlasenko
|
6666ac42a5
cp,mv: simpler arg[cv] handling -> smallish code savings
|
17 anos atrás |
Denis Vlasenko
|
fe7cd642b0
don't pass argc in getopt32, it's superfluous
|
17 anos atrás |
Denis Vlasenko
|
a0319ba936
hdparm: shrink rodata by ~250 bytes
|
17 anos atrás |
Denis Vlasenko
|
6a2f7f41cf
whitespace fixes, no code changes
|
17 anos atrás |
Denis Vlasenko
|
6ca409e0e4
trylink: produce even more info about final link stage
|
17 anos atrás |
Denis Vlasenko
|
f4cee7a174
getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychu
|
17 anos atrás |
Denis Vlasenko
|
990d0f63ee
Replace index_in_[sub]str_array with index_in_[sub]strings,
|
17 anos atrás |
Denis Vlasenko
|
5bfcb4d5ae
getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretending
|
17 anos atrás |
Denis Vlasenko
|
bdc88fdc68
rework long option handling. saves ~1.2k
|
17 anos atrás |
Denis Vlasenko
|
091965768d
libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options
|
17 anos atrás |
Denis Vlasenko
|
b6adbf1be2
usage.c: remove reference to busybox.h
|
17 anos atrás |
Denis Vlasenko
|
ff131b980d
style fixes. No code changes.
|
17 anos atrás |
Denis Vlasenko
|
3f3aa2a57d
make xfunctions optionally longjump instead of exit.
|
17 anos atrás |
Denis Vlasenko
|
8d9f495d68
getopt32: fix llist_t options ordering. llist_rev is not unused.
|
17 anos atrás |
Denis Vlasenko
|
24af7201e9
fix TODO: getopt32 should reset optind to 1 itself
|
17 anos atrás |
Denis Vlasenko
|
8e858e2700
clean up accumulated whitespace damage
|
17 anos atrás |
Denis Vlasenko
|
f7996f3b70
Trailing whitespace removal over entire tree
|
18 anos atrás |
Denis Vlasenko
|
a597aaddfa
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
|
18 anos atrás |
Denis Vlasenko
|
d031ffa623
tar: sanitize option handling
|
18 anos atrás |