bug#8419: cp -au : New hard links in source becomes new files at destina
From:
PƔdraig Brady
Subject:
bug#8419: cp -au : New hard links in source becomes new files at destination when using cp -au
Date:
Tue, 26 Jul 2011 01:33:32 +0100
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
On 25/07/11 17:26, PƔdraig Brady wrote:
> Actually I'm wondering now whether the new code
> should be unconditionally replacing the dest?
> What if the dest is a separate newer file?
> I.E. I think the following amended test should pass?
> Also what about backups if the separate file is older?
Well backups take a different path, as do
older or non existing destination paths.
So how about this change to just remove
the new create_hard_link: call and beef up the test?
cheers,
PƔdraig.