aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* win32: getopt32: set optind = 0 on WindowsNguyễn Thái Ngọc Duy2010-04-201-1/+1
* 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
* getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretendingDenis Vlasenko2007-07-231-7/+4
* rework long option handling. saves ~1.2kDenis Vlasenko2007-07-231-28/+50
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-211-15/+4
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
* style fixes. No code changes.Denis Vlasenko2007-04-101-1/+1
* make xfunctions optionally longjump instead of exit.Denis Vlasenko2007-04-091-0/+1
* getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko2007-04-081-2/+2
* fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko2007-03-151-2/+6
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-3/+3
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-1/+1
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-161-2/+0
* tar: sanitize option handlingDenis Vlasenko2006-11-241-34/+34
* remove bb_printf and the likeDenis Vlasenko2006-10-261-1/+1
* wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko2006-10-251-20/+20
* readlink: do not emit errors if file doesnt not exist / not a linkDenis Vlasenko2006-10-201-0/+9
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-0/+4
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-0/+516