Hello,
Ken Raeburn <[email protected]> writes:
> #3: Okay, I finally got to "make check", and two getaddrinfo tests
> failed, which Ludo and Andy were talking about on IRC. I think these
> are bugs in the tests. It appears that one ("wrong service name") is
> looking for EAI_SERVICE, when I think EAI_NONAME is the correct error
> to be returned in that case, or at least an acceptable error. In the
> other ("port 80"), if I read it right, it's looking for AI_ADDRCONFIG
> to be set in the returned flags? I don't think that's guaranteed at
> all.
>
> #4: Looking at the doc for getaddrinfo, AI_ADDRCONFIG is described as
> returning "only addresses configured on the local system." I think
> that should be "only address families...." Clearly, if you're looking
> up the address of some server, you don't want your query to return
> only your own addresses.
I committed a fix for these, thanks for your help on IRC!
http://git.sv.gnu.org/cgit/guile.git/commit/?id=25bc75c4316497c95b1c3fc17f1678ac47d32041
Ludo’.