B20, Win95: cp destroys file

Henry S. Warren, Jr. hank@watson.ibm.com
Sat Nov 14 18:23:00 GMT 1998


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)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list