This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mktime()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]