aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
AgeCommit message (Expand)Author
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
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
2007-04-10style fixes. No code changes.Denis Vlasenko
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko
2007-04-08getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko
2007-03-15fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2006-12-16s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko
2006-11-24tar: sanitize option handlingDenis Vlasenko
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-25wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko
2006-10-20readlink: do not emit errors if file doesnt not exist / not a linkDenis Vlasenko
2006-10-06dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko