Denys Vlasenko wrote:
> BTW, I reproduced what you see. It's a simple matter of getopt()
> state not being reset.
>
> Please try attached patch, does it help you?
>   

Not really (apart from making my test case work); it seems to break the
command-line version of getopt completely:

# getopt -o ab -- -a -b -c
 --
# getopt -l foo,bar -- --foo --bar --baz
 --

Regards,

Andreas
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to