www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/22/11:21:31

Message-Id: <m10aLGn-000S8nC@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 12:25:48 +0000
MIME-Version: 1.0
Subject: Re: A workaround for Unix-style temporary files
References: <m10aKlz-000S8lC AT inti DOT gov DOT ar>
In-reply-to: <Pine.SUN.3.91.990422175439.11763B-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:
> On Thu, 22 Apr 1999, Salvador Eduardo Tropea (SET) wrote:
> 
> > 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.
> 
> A program which catches SIGSEGV can ineed do that, to some extent (there
> are bad crashes, like when the stack is scrogged, that would prevent even
> this from working).  However, Mark was suggesting a solution that should 
> be part of the library.  And a library function that hooks SIGSEGV 
> complicates its usage too much.

Normally programs that catch SIGSEGV finally does the traceback dump, trying 
to delete the files there won't complicate the stuff, but of course isn't as 
good as having an OS that does the work.

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