Re: [libgo] Use _nuname on 32-bit Solaris 2/x86

2011-03-07 Thread Ian Lance Taylor
Rainer Orth writes: > The libgo os test used to fail on 32-bit Solaris 2/x86 only: > > --- FAIL: os_test.TestHostname >Hostname() = "", want "fuego" > > Running the test under gdb, I find that syscall.Uname is entered with > errno = 4 and left the same, even if I reset errno = ENONE on en

[libgo] Use _nuname on 32-bit Solaris 2/x86

2011-03-07 Thread Rainer Orth
The libgo os test used to fail on 32-bit Solaris 2/x86 only: --- FAIL: os_test.TestHostname Hostname() = "", want "fuego" Running the test under gdb, I find that syscall.Uname is entered with errno = 4 and left the same, even if I reset errno = ENONE on entry. Further investigation led to