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

2024-06-11 Thread Collin Funk
Hi Paul, On 6/11/24 3:15 PM, Paul Eggert wrote: > Yes, and Jim's point seems good so I tried to resurrect that by > installing the attached patch to use GNU-style mktemp -t without > creating junk directories on NetBSD. Please give it a try. Works on my NetBSD 10.0 VM, thanks. Also, I was able t

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

2024-06-11 Thread Paul Eggert
On 6/8/24 03:19, Collin Funk wrote: The change was then reverted since Jim preferred the directory name created with -t. Yes, and Jim's point seems good so I tried to resurrect that by installing the attached patch to use GNU-style mktemp -t without creating junk directories on NetBSD. Please

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

2024-06-11 Thread Bruno Haible
Collin Funk wrote: > 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` \ Yes, please! Bruno

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

2024-06-11 Thread Collin Funk
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

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

2024-06-08 Thread Bruno Haible
Collin Funk wrote: > Originally I thought that this was due to GNU getopt rearranging options > or something, since I don't think NetBSD does that. 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]. Whe