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
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
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
> 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