delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/21/14:13:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <litterio AT pyxsys DOT net>
From: "Francis Litterio" <litterio AT pyxsys DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: cp -p fails with .exe files
Date: Thu, 21 Jun 2001 10:43:53 -0400
Message-ID: <000701c0fa60$989b4190$4500f98c@EMMAROSE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
In-Reply-To: <200106191703.SAA04976@trillian.uk.aonix.com>

Cliff Hones wrote:

> Cygwin cp is ".exe" aware - meaning that "cp xxx yyy" will copy
xxx.exe to
> yyy.exe if xxx.exe exists (and xxx does not).  But "cp -p xxx yyy"
fails -
> it does the copy then reports that it is unable to preserve  the time
for "yyy".

This may be related (I see it in 1.3.1):

	bash$ rm -f foo bar foo.exe bar.exe  # Just to start clean.
	bash$ touch foo.exe
	bash$ cp foo bar
	cp: `foo' and `bar' are the same file

Apologies if this has been brought up before.
--
Francis Litterio
franl AT world DOT std DOT com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019