Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Robert R Schneck Subject: Re: cp breaking weirdly when trying to copy an executable without specifying the .exe extension Date: Sun, 16 May 2004 21:25:12 +0000 (UTC) Lines: 18 Message-ID: References: <004901c43b50$ed047010$78d96f83 AT robinson DOT cam DOT ac DOT uk> X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: c-24-5-75-127.client.comcast.net User-Agent: slrn/0.9.8.0 (CYGWIN_NT-5.1) Max Bowsher wrote: >>> $ touch foo.exe >>> $ cp foo bar >>> cp: `foo' and `bar' are the same file > > I suppose the answer is to simply patch coreutils to give a better > error message in this case. I submitted just such a patch in at http://www.cygwin.com/ml/cygwin/2004-02/msg01167.html Unfortunately, it was right before fileutils became part of coreutils. Perhaps the new coreutils maintainer might take a look? Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/