diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-23 19:41:05 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-23 19:41:05 +0000 |
commit | e90d7ddf46438e2663998d81baf21c49118f9fc9 (patch) | |
tree | 8c5239b97261f422dd3c0debee07e2e12deac9a0 /m4/getaddrinfo.m4 | |
parent | 9a66010992ca6ea590f26fc89362b5b288e5ffbd (diff) | |
download | gnulib-e90d7ddf46438e2663998d81baf21c49118f9fc9.tar.gz |
* lib/getaddrinfo.c [HAVE_NETINET_IN_H]: Include <netinet/in.h>.
Problem reported by Eric Blake.
(getaddrinfo): Initialize se so that it's not garbage.
Redo internal storage allocation so that it doesn't make unportable
assumptions about alignment.
Fix a memory leak.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
not needed, since socklen is a prerequisite module.
Diffstat (limited to 'm4/getaddrinfo.m4')
-rw-r--r-- | m4/getaddrinfo.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 index 8884464f88..ae200f9a0d 100644 --- a/m4/getaddrinfo.m4 +++ b/m4/getaddrinfo.m4 @@ -1,4 +1,4 @@ -# getaddrinfo.m4 serial 5 +# getaddrinfo.m4 serial 4 dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -13,7 +13,6 @@ AC_DEFUN([gl_GETADDRINFO], # Prerequisites of lib/getaddrinfo.h and lib/getaddrinfo.c. AC_DEFUN([gl_PREREQ_GETADDRINFO], [ - AC_REQUIRE([gl_SOCKLEN_T]) AC_REQUIRE([gl_C_RESTRICT]) AC_REQUIRE([gl_SOCKET_FAMILIES]) AC_REQUIRE([AC_C_INLINE]) |