getaddrinfo: Use EAI_INPROGRESS instead of __USE_GNU, for consistency with netdb...
authorSimon Josefsson <simon@josefsson.org>
Sun, 1 Mar 2009 16:25:53 +0000 (17:25 +0100)
committerSimon Josefsson <simon@josefsson.org>
Sun, 1 Mar 2009 16:25:53 +0000 (17:25 +0100)
ChangeLog
lib/gai_strerror.c

index 042250b..080e4b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-01  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gai_strerror.c (values): Use EAI_INPROGRESS instead of
+       __USE_GNU, for consistency with netdb.in.h.
+       Reported by Alan Hourihane <alanh@fairlite.co.uk>.
+
 2009-03-01  Bruno Haible  <bruno@clisp.org>
 
        More support for FreeMiNT.
index 60042e8..e11c979 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997.
 
@@ -50,7 +50,7 @@ values[] =
     { EAI_SOCKTYPE, N_("ai_socktype not supported") },
     { EAI_SYSTEM, N_("System error") },
     { EAI_OVERFLOW, N_("Argument buffer too small") },
-#ifdef __USE_GNU
+#ifdef EAI_INPROGRESS
     { EAI_INPROGRESS, N_("Processing request in progress") },
     { EAI_CANCELED, N_("Request canceled") },
     { EAI_NOTCANCELED, N_("Request not canceled") },