[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Find not globbing in defconfig?
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2010-09-22 0:31:33
Message-ID: 201009220231.33138.vda.linux () googlemail ! com
[Download RAW message or body]

On Monday 20 September 2010 20:27, Rob Landley wrote:
> (hexagon008:4) /home # find /lib -name "*.a"

Can you run
	echo find /lib -name "*.a"
and
	for v in find /lib -name "*.a"; do echo ">$v<"; done
to make sure it's not a weird shell bug, that
find really gets the correct argv?

What does strace show?

> (hexagon008:4) /home # ls /lib/*.a
> /lib/libbfd.a	   /lib/libmagic.a	/lib/libreadline.a
> /lib/libblkid.a    /lib/libmenu.a	/lib/libresolv.a
> /lib/libc.a	   /lib/libmenu_g.a	/lib/librt.a
> /lib/libcrypt.a    /lib/libncurses.a	/lib/libthread_db.a
> /lib/libcurses.a   /lib/libncurses_g.a	/lib/libutil.a
> /lib/libdl.a	   /lib/libnsl.a	/lib/libuuid.a
> /lib/libform.a	   /lib/libopcodes.a	/lib/liby.a
> /lib/libform_g.a   /lib/libpanel.a	/lib/libz.a
> /lib/libhistory.a  /lib/libpanel_g.a	/lib/uclibc_nonshared.a
> /lib/libiberty.a   /lib/libpthread.a
> /lib/libm.a	   /lib/libpython2.6.a
> 
> Am I doing something wrong here?  This is a defconfig 1.17.2, it doesn't seem 
> to be globbing...?  (Built against uClibc 0.9.30.)
> 
> Same behavior on i686 built against uClibc 0.9.31...

Can't reproduce with your toolchain version 0.9.11:

make CROSS_COMPILE=i686- defconfig
make CROSS_COMPILE=i686-

$ ./busybox find /lib -name "*.a"
/lib/libbz2.a
/lib/libform.a
/lib/libmenu.a
/lib/libncurses.a
/lib/libncurses++.a
/lib/libpanel.a
...

$ ./busybox
BusyBox v1.17.2 (2010-09-22 02:25:12 CEST) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic