[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in getaddrinfo module
From: |
Simon Josefsson |
Subject: |
Re: bug in getaddrinfo module |
Date: |
Wed, 09 Nov 2005 01:59:22 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
address@hidden (Eric Blake) writes:
> A quick grep shows that inet_ntop.h suffers from the same
> bug. The 6 other occurances of ifndef.*HAVE_DECL in lib/*.[ch]
> intentionally cause compile-time errors, so they are okay.
>
> 2005-11-08 Eric Blake <address@hidden>
>
> * inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
Thanks! Applied.
>
>
> Index: lib/inet_ntop.h
> ===================================================================
> RCS file: /cvsroot/gnulib/gnulib/lib/inet_ntop.h,v
> retrieving revision 1.4
> diff -u -r1.4 inet_ntop.h
> --- lib/inet_ntop.h 28 Oct 2005 13:53:31 -0000 1.4
> +++ lib/inet_ntop.h 8 Nov 2005 20:30:07 -0000
> @@ -39,7 +39,7 @@
> For more details, see the POSIX:2001 specification
> <http://www.opengroup.org/susv3xsh/inet_ntop.html>. */
>
> -#ifndef HAVE_DECL_INET_NTOP
> +#if !HAVE_DECL_INET_NTOP
> extern const char *inet_ntop (int af, const void *restrict src,
> char *restrict dst, socklen_t cnt);
> #endif
>
> --
> Eric Blake