rpms/coreutils/devel coreutils-6.10-configuration.patch,1.1,1.2

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Fri Jan 25 18:25:44 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/coreutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7153

Modified Files:
	coreutils-6.10-configuration.patch 
Log Message:
Do not fail getaddrinfo gnulib test ifor temporary name resolution errors.

coreutils-6.10-configuration.patch:

Index: coreutils-6.10-configuration.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-6.10-configuration.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-6.10-configuration.patch	25 Jan 2008 17:55:13 -0000	1.1
+++ coreutils-6.10-configuration.patch	25 Jan 2008 18:25:32 -0000	1.2
@@ -10,3 +10,17 @@
    else							\
      :;							\
    fi
+diff -urp coreutils-6.10-orig/gnulib-tests/test-getaddrinfo.c coreutils-6.10/gnulib-tests/test-getaddrinfo.c
+--- coreutils-6.10-orig/gnulib-tests/test-getaddrinfo.c	2007-11-17 07:59:42.000000000 +0100
++++ coreutils-6.10/gnulib-tests/test-getaddrinfo.c	2008-01-25 19:19:43.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;
+     }
+ 




More information about the fedora-extras-commits mailing list