Mail Archives: djgpp-workers/1999/04/22/10:59:20
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 -