bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-framework-sh: Don't leave temporary directories on NetBSD.


From: Collin Funk
Subject: Re: test-framework-sh: Don't leave temporary directories on NetBSD.
Date: Tue, 11 Jun 2024 12:31:42 -0700
User-agent: Mozilla Thunderbird

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]