[OpenWrt-Devel] [PATCH] musl: add getopt support for non-option arguments
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.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel