Author: nkinder
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31841/ldap/servers/slapd
Modified Files: connection.c Log Message: Resolves: 188320 Summary: Don't define _XOPEN_SOURCE_EXTENDED on HP-UX.
Index: connection.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/connection.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- connection.c 18 Oct 2007 00:08:34 -0000 1.18 +++ connection.c 19 Oct 2007 18:48:27 -0000 1.19 @@ -254,7 +254,11 @@ /* try syscall since "from" was not given and PR_GetPeerName failed */ /* a corner case */ struct sockaddr_in addr; /* assuming IPv4 */ +#if ( defined( hpux ) ) + int addrlen; +#else socklen_t addrlen; +#endif
addrlen = sizeof( addr ); memset( &addr, 0, addrlen ); @@ -309,7 +313,11 @@ /* try syscall since c_prfd == NULL */ /* a corner case */ struct sockaddr_in destaddr; /* assuming IPv4 */ +#if ( defined( hpux ) ) + int destaddrlen; +#else socklen_t destaddrlen; +#endif
destaddrlen = sizeof( destaddr ); memset( &destaddr, 0, destaddrlen );
389-commits@lists.fedoraproject.org