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


Message #25 received at 8419-done <at> debbugs.gnu.org (full text, mbox):

From: "Voelker, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: "8419-done <at> debbugs.gnu.org" <8419-done <at> debbugs.gnu.org>,
	"Hans.Kristian.Nordengen <at> ergo.no" <Hans.Kristian.Nordengen <at> ergo.no>,
	"Odd.Harry.Mannsverk <at> benteler-alu.com"
	<Odd.Harry.Mannsverk <at> benteler-alu.com>
Subject: RE: bug#8419: cp -au : New hard links in source becomes new files
	at	destination when using cp -au
Date: Mon, 25 Jul 2011 20:01:29 +0200
Jim Meyering wrote:

>Voelker, Bernhard wrote:
>> Jim Meyering wrote:
>> +        create_hard_link:;
>>
>> Is there a specific reason for the additional empty statement?
>>
>> Also seen in:
>>   find . -name '*.c' | xargs grep ':;'
>>   ./src/head.c:    free_mem:;
>>   ./src/kill.c: no_more_options:;
>>   ./src/od.c:cleanup:;
>>   ./src/paste.c: done:;
>>   ./src/printf.c:        no_more_flag_characters:;
>
> Yes.
> It won't compile without that, since the thing right after
> it is a declaration, and not a statement.

ah, yes, there's a bool following - it's not my best day.

But it's not necessary in the other cases.
I've sent a patch for this in a separate mail to coreutils <at> gnu.org.


Have a nice day,
Berny





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.