emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15650: closed ("cp: war ning: source file ‘f’ spe


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15650: closed ("cp: war ning: source file ‘f’ specified more than on ce" said more than once too!)
Date: Wed, 30 Oct 2013 10:55:05 +0000

Your message dated Wed, 30 Oct 2013 10:53:58 +0000
with message-id <address@hidden>
and subject line Re: bug#15650: "cp: warning: source file ‘f’ specified more 
than once" said more than once too!
has caused the debbugs.gnu.org bug report #15650,
regarding "cp: warning: source file ‘f’ specified more than once" said more 
than once too!
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15650
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: "cp: warning: source file ‘f’ specified more than once" said more than once too! Date: Sat, 19 Oct 2013 18:28:55 +0800
$ touch f
$ mkdir w
$ cp f f f w
cp: warning: source file ‘f’ specified more than once
cp: warning: source file ‘f’ specified more than once

Hey, you yourself say that more than once itself!

So either say
cp: warning: source file ‘f’ specified more than once
just once, or say
cp: warning: source file ‘f’ specified again
n-1 times.



--- End Message ---
--- Begin Message --- Subject: Re: bug#15650: "cp: warning: source file ‘f’ sp ecified more than once" said more than once too ! Date: Wed, 30 Oct 2013 10:53:58 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
tag 15659 wontfix
stop

On 10/19/2013 11:28 AM, address@hidden wrote:
> $ touch f
> $ mkdir w
> $ cp f f f w
> cp: warning: source file ‘f’ specified more than once
> cp: warning: source file ‘f’ specified more than once
> 
> Hey, you yourself say that more than once itself!
> 
> So either say
> cp: warning: source file ‘f’ specified more than once
> just once, or say
> cp: warning: source file ‘f’ specified again
> n-1 times.

So we record this about each arg:

struct F_triple
{
  char *name;
  ino_t st_ino;
  dev_t st_dev;
};

I suppose we could add a 'count' member,
and a corresponding seen_file_count() function.

Though I don't think the complication/clarification
is warranted in this case.

thanks,
Pádraig.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]