bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs-1.12.13 autoconf doesn't verify typedef socklen_t ?


From: Adrian Pepper
Subject: cvs-1.12.13 autoconf doesn't verify typedef socklen_t ?
Date: Thu, 6 Oct 2005 15:13:07 -0400 (EDT)

I can't find a typedef for socklen_t anywhere in our, ahem, Solaris 2.6
system include files.

Other conversation from address@hidden suggests "typedef size_t socklen_t"
is appropriate, while examination of header files under Solaris 8 suggests
either that or "typedef uint32_t socklen_t;" is appropriate,
depending upon other configuration information.  On Solaris 6, I believe
those are the same.

Should the autoconf be modified to check for socklen_t and create an
appropriate ifdef to create an appropriate default typedef if none
is present?

socklen_t appears to be referenced only by:
cvs-1.12.13/lib/getaddrinfo.h

I see the following does contain a definition...
cvs-1.12.13/windows-NT/sys/socket.h
Well, I guess that's because it's a sys/socket.h replacement for that
architecture.


Adrian Pepper
Computer Science Computing Facility
University of Waterloo, Waterloo, Ontario, Canada.
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]