Re: bug#8374: cp -a [-l] sometimes does not preserve timestamps of symlinks

2011-03-31 Thread Eric Blake
[adding bug-gnulib] On 03/31/2011 08:11 AM, Pádraig Brady wrote: So probably -al is broken since you fixed -a in 7.5. Hmm it looks now like we're creating symlinks (with wrong timestamps), but in fact we should be creating hardlinks to symlinks. This seems to have been changed with:

Re: bug#8374: cp -a [-l] sometimes does not preserve timestamps of symlinks

2011-03-31 Thread Pádraig Brady
On 31/03/11 15:20, Eric Blake wrote: Sounds to me like the gnulib fallback should be made smarter. Which systems lack linkat() but have the capability to set timestamps? BSD? But the original report was about opensuse, which is Linux based, and my recollection is that Linux handles hardlinks