* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault
- fixed data race conditions in threaded DNS worker. perlinger@ntp.org
- limit threading warm-up to linux; FreeBSD bombs on it. perlinger@ntp.org
- - fixed several other warnings (cast-alignment, missing const, missing prorotypes)
+* [Bug 2957] 'unsigned int' vs 'size_t' format clash. perlinger@ntp.org
+ - accept key file only if there are no parsing errors
+ - fixed size_t/u_int format clash
+ - fixed wrong use of 'strlcpy'
+ * [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. perlinger@ntp.org
++ - fixed several other warnings (cast-alignment, missing const, missing prototypes)
+ - promote use of 'size_t' for values that express a size
+ - use ptr-to-const for read-only arguments
+ - make sure SOCKET values are not truncated (win32-specific)
+ - format string fixes
+* [Bug 2965] Local clock didn't work since 4.2.8p4. Martin Burnicki.
* Unity cleanup for FreeBSD-6.4. Harlan Stenn.
* Unity test cleanup. Harlan Stenn.
---
//#include "ntp_stdlib.h"
//#include "libntptest.h"
-extern void test_ConstantDateTime(void);
+void test_ConstantDateTime(void);
void
- test_ConstantDateTime(void) {
+ test_ConstantDateTime(void)
+ {
const u_int32 HALF = 2147483648UL;
l_fp e_time = {{3485080800UL}, HALF}; // 2010-06-09 14:00:00.5