[Date Prev][Date Next] [Chronological] [Thread] [Top]

HP-UX 10.20 and AIX 4.3 support in 2.1.8 (ITS#2208)

Full_Name: Albert Chin-A-Young
Version: 2.1.8
OS: HP-UX 10.20, AIX 4.3.2
URL: ftp://ftp.openldap.org/incoming/chinayoung-021126.2
Submission from: (NULL) (

OpenLDAP 2.1.8 does not support HP-UX 10.20 or AIX 4.3. Both have
GETHOSTBYNAME_R_NARGS == 3 and GETHOSTBYADDR_R_NARGS == 5. I have improved the
various autoconf checks to better determine the correct number of arguments for
both of these functions and modified libraries/libldap/util-int.c to correctly
handle the new cases. I've tested with the HP C/AIX C compiler against an LDAPv2
server (OpenLDAP 1.2.11).

I have also done a build with this patch on Solaris 2.5.1, 2.6, 7, 8, 9/SPARC,
HP-UX 11.00, 11i, Tru64 UNIX 4.0D, 5.1, IRIX 6.5, and Redhat Linux 7.1 and note
no adverse affects.

Patch at: