From: richardd@cix.compulink.co.uk (Richard Donkin)
Subject: B17 rename bug
9 Dec 1996 10:08:09 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <memo.372338.cygnus.gnu-win32@cix.compulink.co.uk>
Reply-To: richardd@cix.compulink.co.uk
Original-To: gnu-win32@cygnus.com
Original-Cc: richardd@cix.compulink.co.uk
Original-Sender: owner-gnu-win32@cygnus.com

Here's an entertaining bug that is presumably due to the Cygwin DLL 
considering 'foo' to refer to 'foo.exe' in order to be more Unix-compatible. 
  This is using B17 on Win95.  

Note that 'remsync' did not exist at the start of this sequence:

$ mv remsync.exe remsync
mv: `remsync.exe' and `remsync' are the same file

# Rename using temp filename as intermediary works OK
$ mv remsync.exe remsync.foo
$ mv remsync.foo remsync

I'm not sure how you could fix this without breaking something else, but it 
should be documented somewhere.

Richard
--
richardd@cix.compulink.co.uk                http://www.inside-edge.co.uk/
Inside Edge Consultancy           Client/Server and Internet Applications
PGP key from:  pgp-public-keys@keys.pgp.net  -or-  http://www.four11.com/

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
