Mail Archives: djgpp-workers/1999/04/22/10:49:19
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> > 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.
But we can remove if the program crashes too, why not? For example: when my
program crashes I store the unsaved documents in a special file, so libc can
remove temporals during a crash too.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(5411) 4759 0013
- Raw text -