Commit graph

21 commits

Author SHA1 Message Date
Bill Unruh
ce4e0a3c2f Fix problems with rtc_linux.
2) Changes to rtc_linux.c which a) do a double read of /dev/rtc when the
PPM interupt is turned on after the wait time expires. The current read
does not block to the second, as it should, thus two reads are needed.

Also, changes so that at startup the system properly ignores the last
system time from the initial burst mode for setting the system time since
it can be way off. At present this last system time is included in the
regression, which throws it off until finally that sample is dropped.
2007-06-26 23:42:11 +01:00
Richard Curnow
3a8f93792b Fix potential buffer overflow problem (Martin Simmons) 2006-01-19 21:37:14 +00:00
Richard Curnow
692d2799e4 More build_kit fixes 2006-01-19 21:37:14 +00:00
Richard Curnow
c928cd857b First stab at moving build_kit to release versioning based on tla 2006-01-19 21:37:14 +00:00
Richard Curnow
77da5b6144 RTC usage bails out cleanly if accessing it goes wrong (e.g. HPET without generic RTC emulation) 2006-01-19 21:37:13 +00:00
Richard Curnow
13ace061fa Further fixes to avoid use of linux kernel header files 2006-01-19 21:37:13 +00:00
Richard Curnow
29953d6ddb Remove dependence on <linux/spinlock.h>
Use local definitions for the ioctl codes needed to access the RTC.

Note : not tested.  Some architectures not handled yet.
2006-01-19 21:37:13 +00:00
Richard P. Curnow
6ff561dd23 Pick up tla version.txt 2006-01-19 21:37:13 +00:00
richard
22a309efe3 Output to syslog more debugging information at startup 2006-01-19 21:37:13 +00:00
richard
9a7334a518 Fix snprintf buffer size bug 2006-01-19 21:37:13 +00:00
richard
73374497f2 Add usage function and -h/--help 2006-01-19 21:37:13 +00:00
richard
6672f045c2 Update copyright to 2003 2006-01-19 21:37:13 +00:00
richard
5a775504f1 Remove msg about SH-5 (backed out) 2006-01-19 21:37:13 +00:00
richard
77303c285f Replace sprintf by snprintf (John Hasler) 2006-01-19 21:37:13 +00:00
richard
7812181e74 Fix install rule if chronyd file is busy (Juliusz Chroboczek) 2006-01-19 21:37:13 +00:00
richard
e3dd17c763 Fix initstepslew with no sources specified (John Hasler) 2006-01-19 21:37:13 +00:00
richard
712132f635 Fix for chrony.spec on SuSE (Paul Elliot) 2006-01-19 21:37:13 +00:00
richard
b0993ad9bd Tentative support for Linux 2.5/6/7/8 2006-01-19 21:37:13 +00:00
richard
7e978e8b55 Back out SH-5 denorms fix (now in kernel) 2006-01-19 21:37:12 +00:00
richard
5164a9e13c Recognize kernel versions 2.[678] 2006-01-19 21:37:12 +00:00
Richard P. Curnow
8884034104 Equivalent to V1.19.99.1
This is a verbatim copy of the files at that stage of the repository that was
built from the CVS import.  It allows future development to see a bit of recent
history, but without carrying around the baggage going back to 1997.  If that
is really required, git grafts can be used.
2006-01-19 21:34:28 +00:00