svn commit: trunk/busybox/archival

Vladimir N. Oleynik dzo at simtreas.ru
Sat Oct 15 06:37:44 UTC 2005


landley at busybox.net wrote:

> I have no idea how to apply bb_getopt_complementally to a --longopt that
> has no short option.  The documentation from vodz has a bad case of
> babelfish poisoning, and I can't understand it.  It sort of seems to
> suggest there is a way, but what it is I have no idea.  So I used \n as
> the short option, which is fairly unlikely to be used for something else. :)

getopt_ulflasg() support integer (> UCHAR_MAX) longopts now,
but bb_getopt_complementally - not. Else require bloat code with
integer array bb_getopt_complementally[] :(
You make real one true idea with '\n'.
But, do not loses initialize llist to NULL. (I applied correction already).


--w
vodz



More information about the busybox mailing list