Re: fix malfunction of socket functions on HP-UX in 64-bit mode

2018-04-25 Thread Tom G. Christensen
On 24/04/18 20:08, Bruno Haible wrote: Tom G. Christensen wrote: This testcase uses SO_REUSEPORT which is not available everywhere. From Solaris 9: test-getsockname.c: In function 'open_server_socket': test-getsockname.c:43:30: error: 'SO_REUSEPORT' undeclared (first use in this function)

Re: fix malfunction of socket functions on HP-UX in 64-bit mode

2018-04-24 Thread Bruno Haible
Tom G. Christensen wrote: > This testcase uses SO_REUSEPORT which is not available everywhere. > > From Solaris 9: > test-getsockname.c: In function 'open_server_socket': > test-getsockname.c:43:30: error: 'SO_REUSEPORT' undeclared (first use in > this function) > setsockopt (s, SOL_SOCKET,

Re: fix malfunction of socket functions on HP-UX in 64-bit mode

2018-04-24 Thread Tom G. Christensen
On 27/01/18 11:17, Bruno Haible wrote: Here's what I'm committing for gnulib: 1) A test case for getsockname() that highlights the problem: It fails on HP-UX in 64-bit mode (but succeeds in 32-bit mode). This testcase uses SO_REUSEPORT which is not available everywhere. From Solaris 9: tes