master
mktemp(1) for shell scripts. No more gross directory hackery for safe temp files.
Clarify which part of the path name is considered for substitution. Also use "name" instead of "file name" is some places since the result could be either a file or a directory. Work done with jmc@
mktemp(1): add suffix support for compatibility with the GNU version It is now possible to use templates where the Xs are not at the end, like "foo.XXXXXX.bar". If there are multiple runs of Xs, the last one is used. OK deraadt@