incompatible rename in crtdll

Anders Norlander anorland@hem2.passagen.se
Thu Oct 29 13:22:00 GMT 1998


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



More information about the Cygwin mailing list