delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/16/02:32:20

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: B20, Win95: cp destroys file
16 Nov 1998 02:32:20 -0800 :
Message-ID: <19981116010850.22769.rocketmail.cygnus.gnu-win32@send103.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: "Henry S. Warren, Jr." <hank AT watson DOT ibm DOT com>, gnu-win32 AT cygnus DOT com

---"Henry S. Warren, Jr." <hank AT watson DOT ibm DOT com> wrote:
>
> If you copy, using cp, a file to itself, and the target and source
files
> differ in capitalization, then the content of the file is wiped out;
it
> becomes a file of 0-length.  Example: "cp hilbert.c hilbert.C" trashes
> file hilbert.c.  
>    The Win95 "copy" command gives the error message "File cannot be
> copied onto itself" in this situation (much preferable)

Hmm.  It used to do it that way in b19.  Is it possible that inode or
stat routine has become buggy?

==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd AT yahoo DOT com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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