aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
AgeCommit message (Expand)Author
2017-08-08getopt32: remove opt_complementaryDenys Vlasenko
2017-08-08getopt32: remove applet_long_optionsDenys Vlasenko
2017-08-04getopt32: move support for "always treat first arg as option" to users (tar/ar)Denys Vlasenko
2017-08-04getopt32: factor out code to treat all args as optionsDenys Vlasenko
2017-07-03fixes for bugs found by make_single_applets.shDenys Vlasenko
2017-04-17Spelling fixes in comments, documentation, tests and examplesDenys Vlasenko
2017-04-12libbb: GETOPT_RESET macroKaarle Ritvanen
2017-02-04Replace int -> uint to avoid signed integer overflowRostislav Skudnov
2016-07-06getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LISTDenys Vlasenko
2011-08-10randomconfig fixesDenys Vlasenko
2011-05-29fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775Denys Vlasenko
2011-03-01libbb: remove dead code in getopt32. -7 bytesAlexey Fomenko
2011-02-03whitespace fixesDenys Vlasenko
2011-02-02move nofork_save_area from libbb.h to vfork_daemon_rexec.cDenys Vlasenko
2010-11-22fix misspelling in commentDenys Vlasenko
2010-08-16*: make GNU licensing statement forms more regularDenys Vlasenko
2010-08-12*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko
2010-03-16libbb/getopt32.c: clear applet_long_options and opt_complementary after useDenys Vlasenko
2009-09-11top: add -m ("memory") optionDenys Vlasenko
2009-06-19getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko
2009-04-26hush: make getopt32 usable in builtins. use it in unset.Denis Vlasenko
2008-11-12gzip: fix gzip -dc case caused by using stale getopt stateDenis Vlasenko
2008-10-20ash: fix a bug in standalone mode (corrupted getopt() state)Denis Vlasenko
2008-09-25whitespace fixesDenis Vlasenko
2008-08-20getopt32: do not return pointer to alloca() areasDenis Vlasenko
2008-08-20libbb: getopt32() should not ever touch argv[0] (even read)Denis Vlasenko
2008-08-20libbb: fix mishandling of "all argv are opts" in getopt32()Denis Vlasenko
2008-06-27*: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko
2008-06-15*: use llist_pop for traverse-and-free list operationDenis Vlasenko
2008-04-23getopt32: fix "tar x" case; fix memory leakDenis Vlasenko
2008-04-21getopt32: fix recently broken opt_complementary "--"Denis Vlasenko
2008-04-09Splitting xfuncs.c into two parts. No code chabges.Denis Vlasenko
2008-04-01shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko
2008-03-17*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko
2008-03-17*: shrink by using [f]open_or_warn_stdin where appropriateDenis Vlasenko
2008-02-17whitespace fixesDenis Vlasenko
2008-02-10getpot: add support for "a+" specifier for nonnegative int parameters.Denis Vlasenko
2008-01-28*: move getopt reset code to better place(s)Denis Vlasenko
2007-09-28more "if (p) free(p)" fixes; fix a typo in commentDenis Vlasenko
2007-08-25support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko
2007-08-24cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
2007-08-16hdparm: shrink rodata by ~250 bytesDenis Vlasenko
2007-08-16whitespace fixes, no code changesDenis Vlasenko
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
2007-07-25getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychuDenis Vlasenko
2007-07-24Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko
2007-07-23getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretendingDenis Vlasenko
2007-07-23rework long option handling. saves ~1.2kDenis Vlasenko
2007-07-21libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko