Date: Sun, 25 Apr 1999 11:39:36 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Nate Eldredge 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.