mktemp(1): add suffix support for compatibility with the GNU version
authormillert <millert@openbsd.org>
Fri, 1 Mar 2024 21:50:40 +0000 (21:50 +0000)
committermillert <millert@openbsd.org>
Fri, 1 Mar 2024 21:50:40 +0000 (21:50 +0000)
commitec6f9a749b05dda42a1e6af0dd03e6407ed3ac65
tree07b26003cbfb26f2eea54fbb2fd2274f281a2ddb
parent1aa88f2b271c483d293b2b64d1846e9271690216
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@
usr.bin/mktemp/mktemp.1
usr.bin/mktemp/mktemp.c