On Thu, Aug 8, 2013 at 11:22 PM, Jakob Borg <ja...@nym.se> wrote:
>
> But, adding a
>
>  hints.ai_socktype = SOCK_STREAM;
>
> gives me
>
> jb@zlogin2:~ $ ./test
> canonical name: www.google.com
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
>
> It seems we might need a tweak to support Solaris... :/

Looks like it.  I committed a patch to the master repository.  This
patch copies it over to gccgo.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline and 4.8 branch.

Note that I have not made the change on the 4.7 branch which is what
you are using.  The same patch should work for the 4.7 sources,
though, if you want to copy it over.

Ian

Attachment: foo.patch
Description: Binary data

Reply via email to