www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/25/04:42:04

Date: Sun, 25 Apr 1999 11:39:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nate Eldredge <nate AT cartsys DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: A workaround for Unix-style temporary files
In-Reply-To: <371FC585.F59DB1CF@cartsys.com>
Message-ID: <Pine.SUN.3.91.990425113917.9117M-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, Nate Eldredge wrote:

> Also, IMHO, it's a misfeature.  When your program crashes, data in
> tempfiles could be extremely helpful to debugging it.

If this is a misfeature, it is in the application's code: if they want
the temporary files to stay, they need to provide an option that
avoids removing them.

In contrast, this thread was about the *library*.  If an application
_wants_ to remove temporary files, I think the library has no business
enforcing its ideas about such files on the programmer.  After all, we
already have `tmpfile' which does remove the file on close.

- Raw text -


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