This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
incompatible rename in crtdll
- To: gnu-win32 at cygnus dot com
- Subject: incompatible rename in crtdll
- From: Anders Norlander <anorland at hem2 dot passagen dot se>
- Date: Thu, 29 Oct 1998 22:22:38 +0100
- CC: colin at fu dot is dot saga-u dot ac dot jp
Hi,
I have noticed that rename in crtdll does not behave as you would
expect it to do on a unix system. If the new filename already
exists the function will fail. I noticed this when porting
patch to mingw32. Cygwin handles this correctly.
To get around it you would have to do something like this:
#define rename(f,t) _ming_rename