This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B20, Win95: cp destroys file
- To: gnu-win32 at cygnus dot com
- Subject: Re: B20, Win95: cp destroys file
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 15 Nov 1998 23:56:36 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <364E3A39.6A5.cygnus.gnu-win32@watson.ibm.com>
- Stamped: newsgate-cygnus
In article <364E3A39.6A5.cygnus.gnu-win32@watson.ibm.com>,
Henry S. Warren, Jr. <hank@watson.ibm.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)
This has always been the case with cygwin, unfortunately.
Patches to rectify this behavior are, as always, welcome.
--
cgf@cygnus.com
http://www.cygnus.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".