Re: socklen_t handling

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

 



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.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
gpm mailing list
gpm@xxxxxxxxxxxxxx
http://lists.linux.it/listinfo/gpm

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]