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 #12 received at 8419-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: "Voelker\, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
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 15:20:45 +0200
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.




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.