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 =

siglist.c fails to compile for bash-5.1.8 on HP-UX

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Folks, my compiler (aCC) tells me: /opt/aCC/bin/aCC -Ae -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"ia64"' -DCONF_OSTYPE='"hpux11.31"' -DCONF_MACHTYPE='"ia64-hp-hpux11.31"' -DCONF_VENDOR='"hp"' -DLOCALEDIR='"/opt/ports/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHPUX -DTGETENT_BROKEN

bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Folks, this is basically the same issue as I reported in readline: https://lists.gnu.org/archive/html/bug-readline/2021-08/msg0.html The bad hunk seems not to be POSIX shell compliant. Both vars are set for me on HP-UX because the expansion is incomplete. According to [1] it has to be $(

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Am 2021-08-17 um 15:53 schrieb Greg Wooledge: > On Tue, Aug 17, 2021 at 01:02:06PM +0200, Osipov, Michael (LDA IT PLM) wrote: >> this is basically the same issue as I reported in readline: >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnu.org%2Farchi

Re: siglist.c fails to compile for bash-5.1.8 on HP-UX

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Am 2021-08-17 um 16:36 schrieb Chet Ramey: On 8/17/21 8:03 AM, Osipov, Michael (LDA IT PLM) wrote: Folks, my compiler (aCC) tells me: /opt/aCC/bin/aCC -AeĀ  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"ia64"' -DCONF_OSTYPE='"hpux11.31"&#x