diff options
author | John Crispin <john@openwrt.org> | 2014-11-19 09:21:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-19 09:21:02 +0000 |
commit | d49f9039f78c808a3cc28ece28a1b18f173a944d (patch) | |
tree | 1b7b3394145626d2f199128b2babb7ecafd28273 /package/network/utils | |
parent | bd164f233caf0910e93396142be595d9572be07f (diff) | |
download | upstream-d49f9039f78c808a3cc28ece28a1b18f173a944d.tar.gz upstream-d49f9039f78c808a3cc28ece28a1b18f173a944d.tar.bz2 upstream-d49f9039f78c808a3cc28ece28a1b18f173a944d.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>
SVN-Revision: 43309
Diffstat (limited to 'package/network/utils')
0 files changed, 0 insertions, 0 deletions