This is the mail archive of the libc-hacker@sourceware.org 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]

Re: [PATCH] Filter results from gethostbyname4_r according to request flags


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]