aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
Commit message (Expand)AuthorAgeFilesLines
* shells: do not allow bare "read" in non-bash compat configsGravatar Denys Vlasenko2021-06-061-4/+7
* hush: GETOPT_RESET() _after_ getopts too.Gravatar Denys Vlasenko2017-08-291-1/+1
* getopt32: remove opt_complementaryGravatar Denys Vlasenko2017-08-081-35/+39
* getopt32: remove applet_long_optionsGravatar Denys Vlasenko2017-08-081-25/+46
* getopt32: move support for "always treat first arg as option" to users (tar/ar)Gravatar Denys Vlasenko2017-08-041-33/+3
* getopt32: factor out code to treat all args as optionsGravatar Denys Vlasenko2017-08-041-25/+6
* fixes for bugs found by make_single_applets.shGravatar Denys Vlasenko2017-07-031-3/+1
* Spelling fixes in comments, documentation, tests and examplesGravatar Denys Vlasenko2017-04-171-1/+1
* libbb: GETOPT_RESET macroGravatar Kaarle Ritvanen2017-04-121-7/+1
* Replace int -> uint to avoid signed integer overflowGravatar Rostislav Skudnov2017-02-041-2/+2
* getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LISTGravatar Denys Vlasenko2016-07-061-23/+59
* randomconfig fixesGravatar Denys Vlasenko2011-08-101-1/+5
* fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775Gravatar Denys Vlasenko2011-05-291-1/+3
* libbb: remove dead code in getopt32. -7 bytesGravatar Alexey Fomenko2011-03-011-10/+5
* whitespace fixesGravatar Denys Vlasenko2011-02-031-4/+4
* move nofork_save_area from libbb.h to vfork_daemon_rexec.cGravatar Denys Vlasenko2011-02-021-1/+1
* fix misspelling in commentGravatar Denys Vlasenko2010-11-221-1/+1
* *: make GNU licensing statement forms more regularGravatar Denys Vlasenko2010-08-161-1/+1
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iGravatar Denys Vlasenko2010-08-121-3/+3
* libbb/getopt32.c: clear applet_long_options and opt_complementary after useGravatar Denys Vlasenko2010-03-161-5/+10
* top: add -m ("memory") optionGravatar Denys Vlasenko2009-09-111-7/+7
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSGravatar Denys Vlasenko2009-06-191-5/+5
* hush: make getopt32 usable in builtins. use it in unset.Gravatar Denis Vlasenko2009-04-261-7/+24
* gzip: fix gzip -dc case caused by using stale getopt stateGravatar Denis Vlasenko2008-11-121-6/+19
* ash: fix a bug in standalone mode (corrupted getopt() state)Gravatar Denis Vlasenko2008-10-201-22/+0
* whitespace fixesGravatar Denis Vlasenko2008-09-251-1/+1
* getopt32: do not return pointer to alloca() areasGravatar Denis Vlasenko2008-08-201-1/+12
* libbb: getopt32() should not ever touch argv[0] (even read)Gravatar Denis Vlasenko2008-08-201-1/+2
* libbb: fix mishandling of "all argv are opts" in getopt32()Gravatar Denis Vlasenko2008-08-201-40/+24
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onGravatar Denis Vlasenko2008-06-271-1/+1
* *: use llist_pop for traverse-and-free list operationGravatar Denis Vlasenko2008-06-151-1/+1
* getopt32: fix "tar x" case; fix memory leakGravatar Denis Vlasenko2008-04-231-5/+3
* getopt32: fix recently broken opt_complementary "--"Gravatar Denis Vlasenko2008-04-211-2/+3
* Splitting xfuncs.c into two parts. No code chabges.Gravatar Denis Vlasenko2008-04-091-0/+1
* shells: do not frocibly enable test, echo and kill _applets_,Gravatar Denis Vlasenko2008-04-011-3/+14
* *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Gravatar Denis Vlasenko2008-03-171-6/+9
* *: shrink by using [f]open_or_warn_stdin where appropriateGravatar Denis Vlasenko2008-03-171-0/+2
* whitespace fixesGravatar Denis Vlasenko2008-02-171-1/+1
* getpot: add support for "a+" specifier for nonnegative int parameters.Gravatar Denis Vlasenko2008-02-101-19/+42
* *: move getopt reset code to better place(s)Gravatar Denis Vlasenko2008-01-281-4/+23
* more "if (p) free(p)" fixes; fix a typo in commentGravatar Denis Vlasenko2007-09-281-1/+1
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Gravatar Denis Vlasenko2007-08-251-1/+1
* cp,mv: simpler arg[cv] handling -> smallish code savingsGravatar Denis Vlasenko2007-08-241-5/+6
* don't pass argc in getopt32, it's superfluousGravatar Denis Vlasenko2007-08-181-13/+18
* hdparm: shrink rodata by ~250 bytesGravatar Denis Vlasenko2007-08-161-1/+1
* whitespace fixes, no code changesGravatar Denis Vlasenko2007-08-161-8/+8
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-121-1/+1
* getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychuGravatar Denis Vlasenko2007-07-251-0/+1
* Replace index_in_[sub]str_array with index_in_[sub]strings,Gravatar Denis Vlasenko2007-07-241-1/+1
* getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretendingGravatar Denis Vlasenko2007-07-231-7/+4