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

Date: Thu, 22 Apr 1999 17:57:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: djgpp-workers AT delorie DOT com
Subject: Re: A workaround for Unix-style temporary files
In-Reply-To: <m10aKlz-000S8lC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.990422175439.11763B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


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