[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Tue Jan 20 13:37:30 CET 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/01/20 13:37:30

Modified files:
	cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 m3makefile 
	cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utime.i3 

Log message:
	Switch the "clock" parameters in ctime_r, localtime_r, gmtime_r
	from long_star requiring an unsafe ADR to READONLY.
	VAR would also be reasonable, but they are const in C so READONLY slightly better.
	Might as well switch the output parameter to VAR instead of "star"?
	(Would be nice to change this code such as to avoid declaring sysdep struct tm..)
	
	Switch Cygwin from DateLinux to DatePosix.
	Note that DateLinux is dead, it is only used by Linux 1.x.
	DateBsd is the overwhelmingly used one, except Cygwin and Solaris.
	It corresponds to having gmtoff and zone at the end of struct tm.
	DatePosix vs. DateLinux uses the "_r" functions instead of a lock.
	(Where do they store the zone string, in BSD versions?)




More information about the M3commit mailing list