Date: Mon, 3 Jun 2002 13:30:40 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: 9$$DJREN.$$T Rename bug? In-Reply-To: <3cfafd35$1@duster.adelaide.on.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 3 Jun 2002, Peter Cassidy wrote: > I have a DOS application that uses the djgpp libc libraries, and throws > files around a bit (writing to temporary files and renaming them to the > final name). Occasionally (and seemingly at random) I end up with the file > 9$$DJREN.$$T floating around. Is this plain DOS or Windows? If it's Windows, the temporary file's name should be 9$$djren$$.$$temp$$. If it's plain DOS, and you don't have some kind of LFN TSR loaded, such temporary files should not be produced at all. > So my question is: under what circumstances would this happen? Is it my > fault and I need to use the 'rename' call in a different way? Or does it > indicate a bug in the djgpp libraries? It's some kind of bug. Please try to find a sequence of actions that consistently causes such files to be left around.