GNU bug report logs - #8419
cp -au : New hard links in source becomes new files at destination when using cp -au

Previous Next

Package: coreutils;

Reported by: Odd.Harry.Mannsverk <at> benteler-alu.com

Date: Mon, 4 Apr 2011 10:49:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 8419 <at> debbugs.gnu.org
Subject: bug#8419: cp -au : New hard links in source becomes new files at	destination when using cp -au
Date: Mon, 25 Jul 2011 15:00:29 +0100
On 25/07/11 15:00, Jim Meyering wrote:
> Thanks for the review.
> Factoring out that function is definitely worth doing.
> However, I'd prefer to keep that clean-up change separate
> from the bug-fixing one.  Would you please add a comment for
> the new function?  Maybe something as simple as this:
> 
> /* Create a hard link DST_NAME to SRC_NAME, honoring the REPLACE and
>    VERBOSE settings.  Return true upon success.  Otherwise, diagnose
>    the failure and return false.  */

OK I'll cleanup and apply the refactoring after yours.

cheers,
Pádraig.




This bug report was last modified 13 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.