www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/22/10:49:19

Message-Id: <m10aKlz-000S8lC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Thu, 22 Apr 1999 11:53:58 +0000
MIME-Version: 1.0
Subject: Re: A workaround for Unix-style temporary files
References: <199904211454 DOT KAA26575 AT mccoy2 DOT ECE DOT McGill DOT CA>
In-reply-to: <Pine.SUN.3.91.990422120021.15748W-100000@is>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019