Date: Mon, 1 Jan 2001 10:05:24 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tim Van Holder cc: djgpp-workers AT delorie DOT com Subject: RE: DOZE and WINDOZE versions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 31 Dec 2000, Tim Van Holder wrote: > But I've been using a similar tool (relevant snippet below) since 1998, > and it has always worked just fine, so I had no reason to think it > wouldn't work. The reason it doesn't work is that _rename detects the case where both its arguments are actually the same file, or look like the same file (which included the case, until my recent commit), and if so, it does nothing. So the file is not renamed. I'm at a loss why the code snippet you posted works; it shouldn't.