On Tue, 16 Jun 2009 16:26:40 -0400 James Carlson wrote: > Glenn Fowler writes: > > solaris does two extra calls { creat(2) or whatever and unlink(2) } > > either of those two calls could fail, causing mktemp(1) to fail
> Arguably, the existence of a failure mode of any sort for -u is itself > just a bug. how can reporting "file system full" be a bug in mktemp? don't answer that -- I'm done commenting on mktemp -u ksh builtin mktemp -u will do the creat/unlink and grouse about having to support -u in the documentation > I'm having a hard time seeing how the distinctions are actually > important, rather than being mere implementation artifacts. as long as differences in error handling are not a problem then its not a problem