[OpenWrt-Devel] [PATCH] musl: add getopt support for non-option arguments
Felix Fietkau
nbd at openwrt.org
Wed Nov 19 16:00:22 EST 2014
On 2014-11-17 20:38, Gianluca Anzolin wrote:
> 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 at sottospazio.it>
Please propose this patch on the musl list as well.
Thanks,
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list