Date: Tue, 13 Mar 2001 12:23:29 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: exit handler for fd_props.c In-Reply-To: <3AAD7142.29241.6D9E9C@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 13 Mar 2001, Mark E. wrote: > > Do you expect close() > > to delete files that are marked for deletion? (which is what I assume) > > Yes. > > > And, if we're exiting anyway, do we really need to clean up so > > carefully? It's not a bad thing, just wondering if you're expecting > > something unexpected. > > If it's overkill, I can drop the cleanup. And if the whole patch is overkill, > I have no problem with flushing it. I think that files marked to be deleted should be removed when the program exits. Users expect all files to be closed on a normal exit, and they would expect temporary files to be removed on that occasion. That's what Unix does with files that were removed but left open.