Mail Archives: djgpp-workers/2001/03/13/05:25:36
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.
- Raw text -