]> Savannah Git Hosting - gnulib.git/commit
getprogname: port to AIX
authorJim Meyering <meyering@fb.com>
Thu, 22 Sep 2016 04:15:59 +0000 (21:15 -0700)
committerJim Meyering <meyering@fb.com>
Thu, 22 Sep 2016 15:12:14 +0000 (08:12 -0700)
commite24a470105e085d18f08227fe0b1c49ef86c5814
tree38c10e9718ceaca539c557cd5440d6a0a55d05a1
parentdfcf8b0b956b12eac3a7763d2319de19d6f1ee3d
getprogname: port to AIX

* lib/getprogname.c (getprogname) [_AIX]: Use getpid, getprocs64
and strdup to obtain a short program name string.  Using code from
Bruno Haible and an idea from Bastien ROUCARIÈS, in
https://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00249.html
Assaf Gordon reported that this new file would fail to compile on
AIX-7.1 32bit.
ChangeLog
lib/getprogname.c