[gpm] socklen_t handling

Enrico Weigelt weigelt@metux.de
Tue Jun 3 00:49:55 CEST 2008


* Mike Frysinger <vapier@gentoo.org> wrote:

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

No (IMHO), if this type is missing, the target has no sane
BSD-socket interface -> fail would be the right answer.


BTW: I'm currently developing an package which provides pkg-config
descriptors for base libraries. Platform specific workarounds then
should *only* live here. 

svn://svn.metux.de/public/stdc-pkgconfig/

cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


More information about the gpm mailing list