On 6/8/24 4:44 AM, Bruno Haible wrote: > The cause appears to be that for GNU mktemp, the -t option does not take an > argument [1]; likewise for OpenBSD mktemp [2] and Solaris mktemp [3]. > > Whereas for FreeBSD and NetBSD mktemp, the -t option takes an argument [4][5]. > > Since POSIX does not specify mktemp(1), neither of the two is "right" or > "wrong". We just have to live with both.
Makes sense. The build-aux/mktempd script uses -t in this way too. Should it be fixed there? build-aux/mktempd:94: d=`env -u TMPDIR mktemp -d -t -p "$destdir" "$template" 2>/dev/null` \ Collin