summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-02-03 10:30:52 +0100
committerLudovic Courtès <ludo@gnu.org>2012-02-03 10:30:52 +0100
commit1ba05158ebe033d7d0bdfcfef686eae2c9ea0103 (patch)
tree63d9035c7835b2ed82b47fda1fb371775b9a5460 /doc/ref
parent6f63f118ef15d4c44ed87944735c0cf32153408a (diff)
downloadguile-1ba05158ebe033d7d0bdfcfef686eae2c9ea0103.tar.gz
tests: Have `getaddrinfo' test work for Darwin 8.
* doc/ref/posix.texi (Network Databases): Update description of `EAI_NODATA' to mention that Darwin provides it. * libguile/net_db.c (scm_getaddrinfo): Likewise. * test-suite/tests/net-db.test ("getaddrinfo")["wrong service name"]: Accept `EAI_NODATA' too. Reported by David Fang <fang@csl.cornell.edu>, see <http://bugs.gnu.org/10684>.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/posix.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 0defc3f23..993349583 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -1,7 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011
-@c Free Software Foundation, Inc.
+@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2007,
+@c 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node POSIX
@@ -2502,9 +2502,9 @@ Either @var{name} does not resolve for the supplied parameters,
or neither @var{name} nor @var{service} were supplied.
@item EAI_NODATA
-This non-POSIX error code can be returned on GNU systems when a
-request was actually made but returned no data, meaning
-that no address is associated with @var{name}. Error handling
+This non-POSIX error code can be returned on some systems (GNU
+and Darwin, at least), for example when @var{name} is known
+but requests that were made turned out no data. Error handling
code should be prepared to handle it when it is defined.
@item EAI_SERVICE