Bruno Haible <[EMAIL PROTECTED]> writes:

> On IRIX 6.5, the test-getaddrinfo fails like this:
>
> Finding www.ibm.com service https...
> res -2: Name or service not known
> FAIL: test-getaddrinfo
>
> Since there is already code to ignore a failure on Solaris, the same failure
> on IRIX (with a more POSIX compliant error code!) should be ignored as well.
> I'm applying this:

Thanks for testing it.  Could we maybe limit the workaround to IRIX?
Then we'll get reports for other platforms that also may not support
https.  Knowing which those platforms are may be useful.  Or what do you
think?  I'm not sure.

/Simon

> 2008-04-11  Bruno Haible  <[EMAIL PROTECTED]>
>
>       * tests/test-getaddrinfo.c (simple): Ignore EAI_NONAME error.
>
> *** tests/test-getaddrinfo.c.orig     2008-04-12 02:29:54.000000000 +0200
> --- tests/test-getaddrinfo.c  2008-04-12 02:26:40.000000000 +0200
> ***************
> *** 54,59 ****
> --- 54,63 ----
>   
>     if (res != 0)
>       {
> +       /* IRIX reports EAI_NONAME for "https".  Don't fail the test
> +      merely because of this.  */
> +       if (res == EAI_NONAME)
> +     return 0;
>         /* Solaris reports EAI_SERVICE for "http" and "https".  Don't
>            fail the test merely because of this.  */
>         if (res == EAI_SERVICE)


Reply via email to