delorie.com/archives/browse.cgi | search |
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 |
Date: | Thu, 21 Jun 2001 14:27:00 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cp -p fails with .exe files |
Message-ID: | <20010621142700.B9643@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <200106191703 DOT SAA04976 AT trillian DOT uk DOT aonix DOT com> <000701c0fa60$989b4190$4500f98c AT EMMAROSE> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <000701c0fa60$989b4190$4500f98c@EMMAROSE>; from litterio@pyxsys.net on Thu, Jun 21, 2001 at 10:43:53AM -0400 |
On Thu, Jun 21, 2001 at 10:43:53AM -0400, Francis Litterio wrote: >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. It is not related. fileutils was specifically updated to work around this problem. Apparently I missed the -p option, though. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |