This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

incompatible rename in crtdll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]