bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24505: getprogname vs. AIX [was: new snapshot available: grep-2.25.9


From: Jim Meyering
Subject: bug#24505: getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9
Date: Wed, 21 Sep 2016 21:25:19 -0700

Gordon reported this off-list:

>>>> On AIX-7.1 32bit, compilation fails due to gnulib's new 'getprogname'
>>>> module:
>>>>  CC       getprogname.o
>>>>  getprogname.c: In function 'getprogname':
>>>>  getprogname.c:45:4: error: #error "getprogname module not ported to this
>>>> OS"
>>>>  #  error "getprogname module not ported to this OS"

Thanks again for that report.
Here is a tentative patch (let's call it "pragmatic" -- it tests
explicitly for _AIX rather than a feature-test macro like
HAVE_GETPROCS64 and an additional macro from an autoconf test for the
existence of the procinfo.h header).

Can someone let me know if this solves the problem?

Attachment: gnulib-AIX-getprogname.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]