summaryrefslogtreecommitdiff
path: root/ntpshmwrite.c
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-2/+2
|
* sys/ipc.h needs XOPEN_SOURCE 500Gary E. Miller2016-08-151-0/+3
| | | | XOPEN_SOURCE 500 means X/Open 1995. Seems saef enough.
* Modify misleading comment on leap seconds.Gary E. Miller2016-07-191-2/+7
|
* More trailing whitespace fixups.Gary E. Miller2015-04-301-3/+3
|
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-6/+0
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* splint/cppcheck/coverity prerelease cleanup.Eric S. Raymond2015-03-131-0/+2
|
* Only allow leap seconds in June and December.Gary E. Miller2015-03-101-0/+14
| | | | Per Hal Murray and http://bugs.ntp.org/1090
* Begin factoring out ntplib.Eric S. Raymond2015-03-071-434/+16
| | | | | | | All knowledge of the ntpd SHM format is now confined to the three files ntpshm.h, ntpshmread.c, and ntpshmwrite.c. No logic changes. All regression tests pass. PPS works on GR-601W.
* TODO: if PPS over USB 1.1, then precision = -10Gary E. Miller2015-03-031-0/+1
| | | | How to detect that condition?
* Needed for COVERITY, needed for all.Gary E. Miller2015-03-031-2/+0
| | | | Unused vars should always be initialized, not just for coverity.
* ntpshm.c -> ntpshmwrite.c; ntpmon -> ntpshmmon.Eric S. Raymond2015-02-271-0/+482
All regression tests pass.