Mail Archives: djgpp-workers/1999/04/22/05:59:35
On Wed, 21 Apr 1999, Alain Magloire wrote:
> Technically the unlink() is correct, file removal with unlink() is well
> defined within POSIX definition :
Alas, neither DOS nor Windows 9X don't comply.
> What makes it so attractive on Un*x and other POSIX syst. is that
> the behaviour will be consistent even when the program crash. You
> could use atexit() to cleanup, but when the program die unexpectedly
> its hard to cleanup without coorporation of the OS.
Exactly. Therefore, any DJGPP-specific solution to this problem, even
if we decide to include it, won't be able to remove the temporaries in
all cases.
- Raw text -