aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches/120-getopt_non-option-arguments_fix.patch
Commit message (Collapse)AuthorAgeFilesLines
* musl: merge changes from git, includes further getopt fixesFelix Fietkau2015-01-111-43/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43939
* musl: add getopt support for non-option argumentsJohn Crispin2014-11-191-0/+43
musl libc doesn't support the GNU getopt extension to parse non-option arguments when the optstring starts with '-'. This extension is used by some utilities, notably iptables, that currently return with errors even with perfectly valid invocations. The patch adds the code needed by getopt.c and getopt_long.c to implement that extension. Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it> SVN-Revision: 43309