Mail Archives: djgpp/2002/06/03/06:37:40
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.
- Raw text -