On Sat, Oct 09, 1999 at 07:07:59PM -0700, Jay Cox wrote:
> David Monniaux wrote:
> > Would it be possible to have Gimp unlink() the files after opening them?
> 
> If we unlink the swap file after opening it then we have no way of knowing how
> much space gimp is using for it's swap file.
> 
I don't understand: can't you fstat your file handlers to compute used
space ?

> I think unlinking the swap files in the signal handler that is called when we
> crash would solve this problem.  The cases where this will not work should be
> rare enough not to worry about.

Well, power failures or cleaning people unplugging computers are not that
rare...

Éric Brunet

Reply via email to