summaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
Commit message (Expand)AuthorAgeFilesLines
* *: slap on a few ALIGN_PTR where appropriateDenys Vlasenko2022-02-061-1/+1
* shells: do not allow bare "read" in non-bash compat configsDenys Vlasenko2021-06-061-4/+7
* hush: GETOPT_RESET() _after_ getopts too.Denys Vlasenko2017-08-291-1/+1
* getopt32: remove opt_complementaryDenys Vlasenko2017-08-081-35/+39
* getopt32: remove applet_long_optionsDenys Vlasenko2017-08-081-25/+46
* getopt32: move support for "always treat first arg as option" to users (tar/ar)Denys Vlasenko2017-08-041-33/+3
* getopt32: factor out code to treat all args as optionsDenys Vlasenko2017-08-041-25/+6
* fixes for bugs found by make_single_applets.shDenys Vlasenko2017-07-031-3/+1
* Spelling fixes in comments, documentation, tests and examplesDenys Vlasenko2017-04-171-1/+1
* libbb: GETOPT_RESET macroKaarle Ritvanen2017-04-121-7/+1
* Replace int -> uint to avoid signed integer overflowRostislav Skudnov2017-02-041-2/+2
* getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LISTDenys Vlasenko2016-07-061-23/+59
* randomconfig fixesDenys Vlasenko2011-08-101-1/+5
* fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775Denys Vlasenko2011-05-291-1/+3
* libbb: remove dead code in getopt32. -7 bytesAlexey Fomenko2011-03-011-10/+5
* whitespace fixesDenys Vlasenko2011-02-031-4/+4
* move nofork_save_area from libbb.h to vfork_daemon_rexec.cDenys Vlasenko2011-02-021-1/+1
* fix misspelling in commentDenys Vlasenko2010-11-221-1/+1
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-121-3/+3
* libbb/getopt32.c: clear applet_long_options and opt_complementary after useDenys Vlasenko2010-03-161-5/+10
* top: add -m ("memory") optionDenys Vlasenko2009-09-111-7/+7
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-191-5/+5
* hush: make getopt32 usable in builtins. use it in unset.Denis Vlasenko2009-04-261-7/+24
* gzip: fix gzip -dc case caused by using stale getopt stateDenis Vlasenko2008-11-121-6/+19
* ash: fix a bug in standalone mode (corrupted getopt() state)Denis Vlasenko2008-10-201-22/+0
* whitespace fixesDenis Vlasenko2008-09-251-1/+1
* getopt32: do not return pointer to alloca() areasDenis Vlasenko2008-08-201-1/+12
* libbb: getopt32() should not ever touch argv[0] (even read)Denis Vlasenko2008-08-201-1/+2
* libbb: fix mishandling of "all argv are opts" in getopt32()Denis Vlasenko2008-08-201-40/+24
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
* *: use llist_pop for traverse-and-free list operationDenis Vlasenko2008-06-151-1/+1
* getopt32: fix "tar x" case; fix memory leakDenis Vlasenko2008-04-231-5/+3
* getopt32: fix recently broken opt_complementary "--"Denis Vlasenko2008-04-211-2/+3
* Splitting xfuncs.c into two parts. No code chabges.Denis Vlasenko2008-04-091-0/+1
* shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko2008-04-011-3/+14
* *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko2008-03-171-6/+9
* *: shrink by using [f]open_or_warn_stdin where appropriateDenis Vlasenko2008-03-171-0/+2
* whitespace fixesDenis Vlasenko2008-02-171-1/+1
* getpot: add support for "a+" specifier for nonnegative int parameters.Denis Vlasenko2008-02-101-19/+42
* *: move getopt reset code to better place(s)Denis Vlasenko2008-01-281-4/+23
* more "if (p) free(p)" fixes; fix a typo in commentDenis Vlasenko2007-09-281-1/+1
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko2007-08-251-1/+1
* cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko2007-08-241-5/+6
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-13/+18
* hdparm: shrink rodata by ~250 bytesDenis Vlasenko2007-08-161-1/+1
* whitespace fixes, no code changesDenis Vlasenko2007-08-161-8/+8
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-1/+1
* getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychuDenis Vlasenko2007-07-251-0/+1
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-241-1/+1