Re: getprogname fails randomly on PA-RISC HPUX 11.11 with 64-bit kernel

2021-09-22 Thread John David Anglin
On 2021-09-22 3:49 p.m., Bruno Haible wrote: > Hi John Dave, > > According to > https://en.wikipedia.org/wiki/HP-UX#Version_history > versions < 11.31 of HP-UX are already past end-of-support for more than > 5 years. The only possibly relevant HP-UX version nowadays is 11.31. > > Therefore I would

Re: getprogname fails randomly on PA-RISC HPUX 11.11 with 64-bit kernel

2021-09-22 Thread Bruno Haible
Hi John Dave, According to https://en.wikipedia.org/wiki/HP-UX#Version_history versions < 11.31 of HP-UX are already past end-of-support for more than 5 years. The only possibly relevant HP-UX version nowadays is 11.31. Therefore I would not want to spend time on the earlier versions. We have al

getprogname fails randomly on PA-RISC HPUX 11.11 with 64-bit kernel

2021-09-22 Thread John David Anglin
The test suites of applications using getprogname to print the current process name sometimes fails and prints '?' when both the pstat_getproc and __pstat_getproc64 fail. pstat_getproc never fails when I define _PSTAT64. Eventually, I found that the call to __pstat_getproc64 is sensitive to th