On 06/13/2012 01:39 PM, Denys Vlasenko wrote:
On Tue, Jun 12, 2012 at 11:22 PM, John Spencer
<[email protected]> wrote:
whatever option i pass to unzip, it only shows me the usage...
Cannot reproduce:
I removed CONFIG_EXTRA_CFLAGS="-D__musl__ -static"
from your .config, build 1.20.1 and resulting busybox
does work for me:
thanks for your investigation.
I could trace it back to
/* '-' makes getopt return 1 for non-options */
while ((opt = getopt(argc, argv, "-d:lnopqxv")) != -1)
this returns *not* 1 with musl. according to Rich the commented
behaviour is a gnuism and not POSIX.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox