This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! I succeeded with i386, i686 (2x - --enable-kernel=2.2.5 and --enable-kernel=2.4.1), alpha, alphaev6, ia64 builds. bug-regex12 failed everywhere (expected), likewise bug-erange (DNS is not set up in our buildroots, I think something like attached patch would be good) everywhere, string/stratcliff failed on alpha/alphaev6/ia64 and tst-timer on ia64/i686 (both builds). This was automated build, so to look up further details or debug it I need to build again. 2002-09-29 Jakub Jelinek <jakub@redhat.com> * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't exist. --- libc/nss/bug-erange.c.jj 2002-09-12 03:44:18.000000000 +0200 +++ libc/nss/bug-erange.c 2002-09-29 15:54:16.000000000 +0200 @@ -6,6 +6,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <unistd.h> int main (void) @@ -35,6 +36,11 @@ main (void) if (res != 0 || hp == NULL) { printf ("gethostbyname_r failed: %s (errno: %m)\n", strerror (res)); + if (access ("/etc/resolv.conf", R_OK)) + { + puts ("DNS probably not set up"); + return 0; + } return 1; } Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |