aboutsummaryrefslogtreecommitdiffstats
path: root/BSDmakefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-19 09:21:02 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-19 09:21:02 +0000
commit013b2bcd25c3ad50cc9e869670801a2a92292f10 (patch)
tree2173535988b704728036a59947f7b9d1008b94c6 /BSDmakefile
parentc3e4dee7574a5d6bcdcf913fa7ec5d2e61d35f45 (diff)
downloadmaster-187ad058-013b2bcd25c3ad50cc9e869670801a2a92292f10.tar.gz
master-187ad058-013b2bcd25c3ad50cc9e869670801a2a92292f10.tar.bz2
master-187ad058-013b2bcd25c3ad50cc9e869670801a2a92292f10.zip
musl: add getopt support for non-option arguments
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'BSDmakefile')
0 files changed, 0 insertions, 0 deletions