standalone/nofork oddity
Andreas Bühmann
buehmann at users.berlios.de
Mon Oct 20 14:36:58 UTC 2008
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
More information about the busybox
mailing list