[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sat Sep 19 20:26:58 CEST 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/09/19 20:26:58

Modified files:
	cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Usocket.c 
	                                     Usocket.i3 
	cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/interix-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 

Log message:
	sysdep reduction:
	struct linger is identical on all platforms except Cygwin (where it doesn't appear to be Posix-conforming)
	Posix says the fields are int, but Cygwin uses unsigned short.
	assert this (in UnixC.c)
	use a copying wrapper on Cygwin (Usocket.c)
	remove platform specific code, except for Cygwin (#ifdef a few lines instead of duplicating stuff for every platform)




More information about the M3commit mailing list