[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-getaddrinfo fails on cygwin 1.7
From: |
Eric Blake |
Subject: |
Re: test-getaddrinfo fails on cygwin 1.7 |
Date: |
Fri, 27 Mar 2009 15:24:50 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Eric Blake <ebb9 <at> byu.net> writes:
> So if I can pinpoint
> the failure to a cygwin bug and get it fixed before the formal release of
1.7,
> then gnulib does not have to worry about working around anything.
Update: the bug was indeed in cygwin, and is now fixed - POSIX requires
implementations to handle NULL hints, and while most of cygwin's code paths did
this correctly, one path mistakenly dereferenced hints without the null check:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?
cvsroot=src&r1=1.251&r2=1.252
That said, this patch would still be useful in gnulib.
> OK to apply this patch?
>
> From: Eric Blake <ebb9 <at> byu.net>
> Date: Fri, 27 Mar 2009 08:16:39 -0600
> Subject: [PATCH] test-strerror: make debugging EAI_SYSTEM easier
--
Eric Blake