Update GNU coreutils to version 7.4 [PSARC/2009/355 FastTracktimeout 06/22/2009]
James Carlson
james.d.carlson at sun.com
Tue Jun 16 12:59:42 PDT 2009
Glenn Fowler writes:
> the -u description I quoted was from the solaris mktemp(1)
>
> its not semantics assuming the gnu and solaris documentation describe the implementation
>
> gnu --dry-run prints the name it would use to creat the file
> but stops short of doing the creat
>
> solaris -u does a creat, unlink, and then prints the name
In terms of defining what the output means, is there really a
difference between these two?
The Solaris one does a modest check to see if the name is unused. But
since it doesn't hold onto that newly-created object, anyone else
could slip in a millisecond after mktemp(1) exit and create that same
object with nary a complaint observed.
I don't see now it's an architectural distinction.
--
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
More information about the opensolaris-arc
mailing list