Attached is a patch to fix build on hpux11. I added a new hunk along the lines as the one for _AIX. The pst_ucomm field gives the program's basename but the name is truncated to 14 characters plus the null terminator. Thus, I had to adjust test-getprogname.c to just check 14 characters.
Regards, Dave Anglin -- John David Anglin dave.ang...@bell.net
grep-2.26-hpux.patch
Description: Binary data