bug#24805: grep-2.26: FTBFS on hpux11 - getprogname.c not ported

2016-10-26 Thread John David Anglin
On 2016-10-26, at 8:53 PM, Jim Meyering wrote: > On Wed, Oct 26, 2016 at 5:37 PM, Jim Meyering wrote: >> On Wed, Oct 26, 2016 at 5:21 PM, Paul Eggert wrote: >>> Ha! And I was just last week defending HP-UX as still being a relevant >>> platform for GNU applications! See: >>> >>> http://lists.gn

bug#24805: grep-2.26: FTBFS on hpux11 - getprogname.c not ported

2016-10-26 Thread Jim Meyering
On Wed, Oct 26, 2016 at 5:37 PM, Jim Meyering wrote: > On Wed, Oct 26, 2016 at 5:21 PM, Paul Eggert wrote: >> Ha! And I was just last week defending HP-UX as still being a relevant >> platform for GNU applications! See: >> >> http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00116.html >> >

bug#24805: grep-2.26: FTBFS on hpux11 - getprogname.c not ported

2016-10-26 Thread Jim Meyering
On Wed, Oct 26, 2016 at 5:21 PM, Paul Eggert wrote: > Ha! And I was just last week defending HP-UX as still being a relevant > platform for GNU applications! See: > > http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00116.html > > Anyway, thanks for the port to HP-UX. I installed the attach

bug#24805: grep-2.26: FTBFS on hpux11 - getprogname.c not ported

2016-10-26 Thread Paul Eggert
Ha! And I was just last week defending HP-UX as still being a relevant platform for GNU applications! See: http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00116.html Anyway, thanks for the port to HP-UX. I installed the attached patch into Gnulib and it should appear in the next grep r

bug#24805: grep-2.26: FTBFS on hpux11 - getprogname.c not ported

2016-10-26 Thread John David Anglin
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. Regar