Date: Sun, 03 Aug 2003 22:46:10 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: rich AT phekda DOT freeserve DOT co DOT uk Message-Id: <9003-Sun03Aug2003224609+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: (rich AT phekda DOT freeserve DOT co DOT uk) Subject: Re: Fix for rename bug: moving a directory into itself [PATCH] References: 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 > Date: Sun, 03 Aug 2003 16:12:38 +0100 > From: "Richard Dawe" > > It looks like _truename will generate an SFN for a non-existing file. > The patch below adds a version of _truename that should always return > SFNs. Imaginatively it's called _truename_sfn. Better suggestions > are welcome. ;) Now rename will use this function to generate > the filenames for comparison with is_parent. This seems to fix > the problem on Windows '98 SE. Fine with me; thanks!