On Sunday 10 February 2008 16:05, [EMAIL PROTECTED] wrote:
> Hello, list!
> 
> The most borring thing when dealing with applet options is to parse them.
> Although getopt32() does the most of dirty work for us still there exist
> numeric options which require additional processing.

*(unsigned **)(on_off->optarg) = (void *)xatoi_u(optarg);

This is a bug, I think. Should be 

*(unsigned*)(on_off->optarg) = xatoi_u(optarg);

I applied it with this change, added docs, and tested it. Works.
Thanks.
--
vda

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

Reply via email to