Re: bootstrap symlink dependencies

2011-05-14 Thread Eric Blake
On 05/14/2011 02:41 AM, Jim Meyering wrote: >> But this won't work if the file names contain spaces. > > Good point. But this does: > > inums=`ls -1diL "$src" "$dst" 2>/dev/null|sed 's/ .*//'` && set $inums && > test "$1" = "$2" || { > > However, it could still fail for any name containing

Re: bootstrap symlink dependencies

2011-05-14 Thread Jim Meyering
Paul Eggert wrote: >> If something treats symlink mtime as significant, >> then I suspect that it's at fault. > > Yes, there's something busted there. GNU 'make' does the right thing: > it follows symlinks when checking time stamps. Is some other 'make' > is being used, or perhaps some tool othe

Re: test-getcwd-lgpl fails on FreeBSD 8.1

2011-05-14 Thread Matthias Bolte
2011/5/13 Eric Blake : > On 05/13/2011 02:26 AM, Matthias Bolte wrote: >> I found this while testing current libvirt git on FreeBSD 8.1 32bit. >> When runnig in gdb >> ./gnulib/tests/test-getcwd-lgpl in the libvirt source tree then the >> same ASSERT fails. Sometimes ASSERT (chdir (pwd1) == 0) in

Re: bootstrap symlink dependencies

2011-05-14 Thread Paul Eggert
> If something treats symlink mtime as significant, > then I suspect that it's at fault. Yes, there's something busted there. GNU 'make' does the right thing: it follows symlinks when checking time stamps. Is some other 'make' is being used, or perhaps some tool other than 'make'? > That looks