[gpm] socklen_t handling

Mike Frysinger vapier@gentoo.org
Mon Jun 2 18:51:20 CEST 2008

On Monday 02 June 2008, Nico Schottelius wrote:
> Mike Frysinger [Mon, Jun 02, 2008 at 12:13:07PM -0400]:
> > [socklen_t]
> >
> > ive committed this then to gpm-1 ... configure checks for the socklen_t
> > type and all gpm code assumes socklen_t is available
> Thanks for your work, mike!
> I am not sure, whether this check
> AC_CHECK_TYPE([socklen_t], [unsigned int])
> is senseful, as we define socklen_t for us as unsigned int, although we
> should not care about. Thus, if posix changes, gpm breaks.

i dont see how you could make a check that would automatically stay conformant 
to a standard ?  if the system does not define socklen_t, then there is no 
way for us to know what an appropriate size is.  we have to default to what 
the standard says.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.linux.it/pipermail/gpm/attachments/20080602/8fa8a648/attachment.pgp 

More information about the gpm mailing list