> --- config/init/hints/dec_osf.pl.dist 2005-10-05 20:29:30.000000000 +0300 > +++ config/init/hints/dec_osf.pl 2005-10-05 20:31:25.000000000 +0300 > @@ -6,6 +6,10 @@ > if ( $ccflags !~ /-pthread/ ) { > $ccflags .= ' -pthread'; > } > +if ( $ccflags !~ /-D_XOPEN_SOURCE=/ ) { > + # Request all POSIX visible (not automatic for cxx, as with cc) > + $ccflags .= ' -D_XOPEN_SOURCE=500'; > +} > Configure::Data->set( > ccflags => $ccflags, > );
So the above patch should be applied so that Tru64 is happy, and works, but as was pointed out to me in private email, the (socklen_t*) cast should most probably be removed, too (and the newsize made socklen_t instead of int), because the (socklen_t*)&newsize when newsize is not a socklen_t, is simply asking for trouble (misalignment and/or memory corruption). >>> >> > >