mktime()

Steven Abner pheonix@zoomtown.com
Fri Oct 14 18:23:00 GMT 2011


Hi, a separate issue that might affect Newlib.
You may already even know about this. I'm not sure you can use your mktm_r.c file. It mentions you got from Olson. The servers have been shut down due to legal copyright issues. I believe the code is okay though, but I am not a legal wiz.
I also wish Redhat, if they hadn't already, would get into the fight for database rights if not too late. People should be allowed to publish data or code based on research! My whole Libc library might be illegal since I researched what header information is needed and what a function like mktime should do. I think mktime might be owned by POSIX?

The code I provided you is free and is base on personal deductive reasoning. The test program does contain research from Olson's information, as I was trying to use real world data, use personally only. I don't think the Julian day correction is an issue other than the comment is a direct quote from POSIX about its bounds. So maybe remove that comment? or re-word?

Steve



More information about the Newlib mailing list