Re: Incomplete test for mkdtemp() in lib/sh/tmpfile.c for bash-5.1.8 on HP-UX

2021-08-17 Thread Chet Ramey
On 8/17/21 7:56 AM, Osipov, Michael (LDA IT PLM) wrote: > Folks, > > there is an incomplete macro testing. USE_MKDTEMP is defined in > config-top.h. It's a typo in config-bot.h that was fixed back in March in the devel branch. *** ../bash-5.1-patched/config-bot.h2019-12-10 14:37:43.

Incomplete test for mkdtemp() in lib/sh/tmpfile.c for bash-5.1.8 on HP-UX

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Folks, there is an incomplete macro testing. USE_MKDTEMP is defined in config-top.h. HAVE_MKDTEMP is properly unset in config.h for HP-UX since it is not available, but tempfile.c does this: #ifdef USE_MKDTEMP filename = (char *)xmalloc (PATH_MAX + 1); tdir = get_tmpdir (flags); tdlen =