Marc Lehmann writes: > a) unlink might not succeed on non-unix-systems. cure: ignore the error from > unlink and try to unlink it again after closing the file At least on Win32, and probably on OS/2, too, it is possible to open a file so that it will be automatically deleted after closing. The GIMP already does that on Win32. --tml