delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/01/03:07:02

Date: Mon, 1 Jan 2001 10:05:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tim Van Holder <tim DOT van DOT holder AT pandora DOT be>
cc: djgpp-workers AT delorie DOT com
Subject: RE: DOZE and WINDOZE versions
In-Reply-To: <NEBBIOJNGMKPNOBKHCGHOECPCAAA.tim.van.holder@pandora.be>
Message-ID: <Pine.SUN.3.91.1010101100210.3587V-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019