[Nut-upsdev] cross-compiling the windows_port branch (socklen_t)
Tim Rice
tim at multitalents.net
Thu Oct 21 04:24:32 UTC 2010
On Wed, 20 Oct 2010, Arjen de Korte wrote:
> Citeren Tim Rice <tim at multitalents.net>:
>
> > There is at least one currently shipping UNIX platform where socklen_t is
> > not defined. Please keep the NUT_TYPE_SOCKLEN_T test.
>
> Which one? Is this system POSIX compliant (and do we fail to provide the
> proper flags to make it behave like one?)
Not anything that is currently supported. If I can think of one, there
my be others I don't know about. The point is, why pull out
a good test just because most current systems define socklen_t?
But to answer your question, I was thinking of OpenServer 5. If I remember
corretly, none of the UnixWare versions prior to 7.1.4 defined socklen_t.
Again not currently supported (and not currently shipping systems). It has
been on my TODO list for a while to get NUT working on UnixWare 7.1.4.
If I get that done, there will likley be people on 7.1.3 or OpenUNIX 8.0.0
that will want NUT working there too.
> > Nut's m4/nut_type_socklen_t.m4 could be enhanced with the recent changes
> > to gnulib's m4/socklen.m4
>
> I'm not sure this is a good idea. We require POSIX compliance and as far as I
> know, socklen_t should be defined.
>
> Best regards, Arjen
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the Nut-upsdev
mailing list