Denys Vlasenko
|
6016181b68
hush: GETOPT_RESET() _after_ getopts too.
|
7 lat temu |
Denys Vlasenko
|
22542eca18
getopt32: remove opt_complementary
|
7 lat temu |
Denys Vlasenko
|
036585a911
getopt32: remove applet_long_options
|
7 lat temu |
Denys Vlasenko
|
dd5a40246b
getopt32: move support for "always treat first arg as option" to users (tar/ar)
|
7 lat temu |
Denys Vlasenko
|
727948e585
getopt32: factor out code to treat all args as options
|
7 lat temu |
Denys Vlasenko
|
d4e4fdb5ce
fixes for bugs found by make_single_applets.sh
|
7 lat temu |
Denys Vlasenko
|
10ad622dc2
Spelling fixes in comments, documentation, tests and examples
|
7 lat temu |
Kaarle Ritvanen
|
835ad3a984
libbb: GETOPT_RESET macro
|
7 lat temu |
Rostislav Skudnov
|
8762512fdb
Replace int -> uint to avoid signed integer overflow
|
7 lat temu |
Denys Vlasenko
|
237bedd499
getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST
|
8 lat temu |
Denys Vlasenko
|
b47b3ce1bd
randomconfig fixes
|
13 lat temu |
Denys Vlasenko
|
488dd70869
fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775
|
13 lat temu |
Alexey Fomenko
|
ea6116ee59
libbb: remove dead code in getopt32. -7 bytes
|
13 lat temu |
Denys Vlasenko
|
b7c9fb27cb
whitespace fixes
|
13 lat temu |
Denys Vlasenko
|
6307357eff
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
|
13 lat temu |
Denys Vlasenko
|
29ca159133
fix misspelling in comment
|
14 lat temu |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 lat temu |
Denys Vlasenko
|
7783248eaa
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
|
14 lat temu |
Denys Vlasenko
|
d46c36c74e
libbb/getopt32.c: clear applet_long_options and opt_complementary after use
|
14 lat temu |
Denys Vlasenko
|
0052882200
top: add -m ("memory") option
|
15 lat temu |
Denys Vlasenko
|
f3b92d3856
getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS
|
15 lat temu |
Denis Vlasenko
|
28e67966f3
hush: make getopt32 usable in builtins. use it in unset.
|
15 lat temu |
Denis Vlasenko
|
fd5a3d2812
gzip: fix gzip -dc case caused by using stale getopt state
|
16 lat temu |
Denis Vlasenko
|
d1660cb9ad
ash: fix a bug in standalone mode (corrupted getopt() state)
|
16 lat temu |
Denis Vlasenko
|
ea7c9b3366
whitespace fixes
|
16 lat temu |
Denis Vlasenko
|
e417be6697
getopt32: do not return pointer to alloca() areas
|
16 lat temu |
Denis Vlasenko
|
4301616b27
libbb: getopt32() should not ever touch argv[0] (even read)
|
16 lat temu |
Denis Vlasenko
|
1c45a505eb
libbb: fix mishandling of "all argv are opts" in getopt32()
|
16 lat temu |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 lat temu |
Denis Vlasenko
|
d50dda8c35
*: use llist_pop for traverse-and-free list operation
|
16 lat temu |