SHA256
1
0
forked from pool/coreutils
coreutils/coreutils-getaddrinfo.diff

16 lines
553 B
Diff

Index: coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c
===================================================================
--- coreutils-6.9.90.orig/gnulib-tests/test-getaddrinfo.c 2007-11-17 07:59:42.000000000 +0100
+++ coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c 2007-12-12 11:25:49.000000000 +0100
@@ -61,6 +61,10 @@ int simple (char *host, char *service)
if (res == EAI_SERVICE)
return 0;
+ /* Do not fail this test for temporary name resolution errors. */
+ if (res == EAI_AGAIN)
+ return 0;
+
return 1;
}