diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-23 23:30:41 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-23 23:30:41 +0000 |
| commit | df63503dc2fbe59292a65c685479bf1a439b9b4d (patch) | |
| tree | 4f1b242db11a03e2f2ed78092e90f72f416dcd49 /src/include/getaddrinfo.h | |
| parent | 93395de092fbec103b2949ba46c2642ef875405c (diff) | |
| download | postgresql-df63503dc2fbe59292a65c685479bf1a439b9b4d.tar.gz | |
Have a go at fixing various outstanding portability issues in code that
was modified for IPv6. Use a robust definition of struct sockaddr_storage,
do a proper configure test to see if ss_len exists, don't assume that
getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to
return the protocol we ask for, etc. This incorporates several outstanding
patches from Kurt Roeckx, but I'm to blame for anything that doesn't
work ...
Diffstat (limited to 'src/include/getaddrinfo.h')
| -rw-r--r-- | src/include/getaddrinfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/getaddrinfo.h b/src/include/getaddrinfo.h index ced6df07e9..6312482a7a 100644 --- a/src/include/getaddrinfo.h +++ b/src/include/getaddrinfo.h @@ -3,7 +3,6 @@ * getaddrinfo.h * Support getaddrinfo() on platforms that don't have it. * - * * Note: we use our own routines on platforms that don't HAVE_STRUCT_ADDRINFO, * whether or not the library routine getaddrinfo() can be found. This * policy is needed because on some platforms a manually installed libbind.a @@ -16,7 +15,7 @@ * * Copyright (c) 2003, PostgreSQL Global Development Group * - * $Id: getaddrinfo.h,v 1.6 2003/06/12 08:15:29 momjian Exp $ + * $Id: getaddrinfo.h,v 1.7 2003/07/23 23:30:40 tgl Exp $ * *------------------------------------------------------------------------- */ |
