public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Roland McGrath <roland@redhat.com>, Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Some make check results
Date: Sun, 29 Sep 2002 06:55:00 -0000	[thread overview]
Message-ID: <20020929155536.I3451@sunsite.ms.mff.cuni.cz> (raw)

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

             reply	other threads:[~2002-09-29 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-29  6:55 Jakub Jelinek [this message]
2002-09-29 11:21 ` Ulrich Drepper
2002-09-29 15:39   ` [PATCH] Fix tst-timer (was Re: Some make check results) Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020929155536.I3451@sunsite.ms.mff.cuni.cz \
    --to=jakub@redhat.com \
    --cc=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=roland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).