-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Donsbach wrote:

>> You can use "-D_XOPEN_SOURCE" but if configure
>> didn't need that I don't see the point.
> 
> That assumes configure is working correctly with regards to this on
> hp-ux 10.20. I wouldn't necessarily make that assumption. I see checks
> in configure for gethostbyname variants, but nothing looking for
> "h_error" support explicitly.

I read the log and configure, the check is like this:

#include <sys/types.h>
#include <netdb.h>

int
main ()
{

struct hostent *hp;
struct hostent h;
char *name;
char buffer[10];
int  h_errno;
hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);

  ;
  return 0;
}

I would say that is very explicit use of h_errno.
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPqimwACgkQL3NNweKTRgyKXACfR8/SELBOaWpWIhJoXU+Ok+FV
iHQAoNAzL6iaS5dMSQ/d5i0LmUIeTqHs
=t13t
-----END PGP SIGNATURE-----

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to