public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@gmail.com>
To: Andreas Schwab <schwab@redhat.com>
Cc: libc-hacker@sourceware.org
Subject: Re: [PATCH] Filter results from gethostbyname4_r according to request flags
Date: Tue, 21 Jun 2011 21:06:00 -0000	[thread overview]
Message-ID: <BANLkTikGE7c6Gq2tBz2+Droa-62CK8dtrA@mail.gmail.com> (raw)
In-Reply-To: <m3k4cfgqda.fsf@redhat.com>

On Tue, Jun 21, 2011 at 11:23, Andreas Schwab <schwab@redhat.com> wrote:
> 2011-06-21  Andreas Schwab  <schwab@redhat.com>
>
>        [BZ #12885]
>        * sysdeps/posix/getaddrinfo.c (gaih_inet): Filter results from
>        gethostbyname4_r according to request flags.

This patch isn't correct.  We need to ignore the IPv4 entries, keep
track of whether we found any data.  And there is no reason to copy
anything.  I think the patch I applied is correct.  Give it a try.

  reply	other threads:[~2011-06-21 21:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 14:21 Andreas Schwab
2011-06-21 15:23 ` Andreas Schwab
2011-06-21 21:06   ` Ulrich Drepper [this message]
2011-06-22 12:58     ` Andreas Schwab

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=BANLkTikGE7c6Gq2tBz2+Droa-62CK8dtrA@mail.gmail.com \
    --to=drepper@gmail.com \
    --cc=libc-hacker@sourceware.org \
    --cc=schwab@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).