if i try it on current 1.10.3 i get: CC shell/hush.o shell/hush.c:89:2: warning: #warning On NOMMU, hush command substitution is dangerous. shell/hush.c:90:2: warning: #warning Dont use it for commands which produce lots of output. shell/hush.c:91:2: warning: #warning For more info see shell/hush.c, generate_stream_from_list(). shell/hush.c: In function `builtin_read': shell/hush.c:1075: error: too many arguments to function `xmalloc_reads' make[1]: *** [shell/hush.o] Fout 1
do i need cvs ? > -----Oorspronkelijk bericht----- > Van: Denys Vlasenko [mailto:[EMAIL PROTECTED] > Verzonden: dinsdag 10 juni 2008 22:13 > Aan: Martinb_ARM_NOMMU_KISSDVD > CC: [email protected] > Onderwerp: Re: Wrong result on simple hush script (nommu / arm) > > > On Saturday 07 June 2008 19:19, Martinb_ARM_NOMMU_KISSDVD wrote: > > I have the following script: > > > > ---------------------------------------------------- > > #!/bin/hush > > > > if false > > then > > echo "test line 1" > > tmp=`ping -justawrongoption 127.0.0.1` > > fi > > ---------------------------------------------------- > > > > if i execute i get: > > > > /hdd/bustest # ./test.sh > > ping: illegal option -- j > > BusyBox v1.10.0 (2008-04-23 23:53:40 CEST) multi-call binary > > > > Usage: ping [OPTION]... host > > > > Send ICMP ECHO_REQUEST packets to network hosts > > > > Options: > > -4, -6 Force IPv4 or IPv6 hostname resolution > > -c CNT Send only CNT pings > > -s SIZE Send SIZE data bytes in packets (default=56) > > -I iface/IP Use interface or IP address as source > > -q Quiet, only displays output at start > > and when finished > > > > (i understand that i cant use the -justawongoption, but its just for > > testing) > > I fixed it now, can you test it? Just replace hush.c > with the attached file. > -- > vda > _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
