From: Christopher Faylor Date: Wed, 05 Oct 2005 03:16:42 GMT Subject: Re: First cut at git port to Cygwin Message-ID: <20051005031642.GD1393@trixie.casa.cgf.cx> In-Reply-To: <434299DB.7020805@zytor.com> On Tue, Oct 04, 2005 at 08:03:55AM -0700, H. Peter Anvin wrote: >Alex Riesen wrote: >> >>I noticed that rename(2) in my copy of cygwin (1.5.18-1) does not remove >>the >>target and returns an error (probably EPERM, but I have reasons not to >>trust >>strerror on that thing). >>The repository was on FAT. >>Taking "rename(2)" from cygwin's libiberty solved this (they unlink if >>link(2) >>returns EEXIST). >> >>PS: Does broken rename(2) qualify a system "not worthy to support"? > >I just tried this with Cygwin 1.5.18-1 and didn't have any such >problems. I tried it on NTFS, FAT and Samba, using WinXP. That's a relief. Btw, AFAIK, strerror is working correctly under Cygwin also. -- Christopher Faylor spammer? -> aaaspam@sourceware.org Cygwin Co-Project Leader aaaspam@duffek.com TimeSys, Inc.