This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: incompatible rename in crtdll
- To: Anders Norlander <anorland at hem2 dot passagen dot se>, gnu-win32 at cygnus dot com
- Subject: Re: incompatible rename in crtdll
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 30 Oct 1998 17:42:49 -0800 (PST)
- Cc: colin at fu dot is dot saga-u dot ac dot jp
- Reply-To: earnie_boyd at yahoo dot com
---Anders Norlander <anorland@hem2.passagen.se> wrote:
>
> Hi,
>
Hi Anders,
> 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
>
You may be interested in what I did with a mingw32 version of patch. You'll find a gziped differences attached.
==
- \\||//
-------------o0O0--Earnie--0O0o--------------
-- earnie_boyd@yahoo.com --
-- http://www.freeyellow.com/members5/gw32 --
----------------ooo0O--O0ooo-----------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
patch-2.5-MW32.diff.gz