Mail Archives: djgpp/2002/06/03/16:53:54
Peter Cassidy (peter DOT cassidy DOT ps AT rocksoft DOT com) 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.
: Now I have found the code in 'rename' that produces this file (it's a
: temporary that rename uses), and it looks like it occurs when the file can
: be renamed to the temp name but then not renamed to the final name.
: 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?
How about showing us what the file names in question (the ones in
_your_ code) are?
Right,
MartinS
- Raw text -