From: Harlan Stenn Date: Mon, 20 Jan 2020 06:33:47 +0000 (+0000) Subject: Merge psp-deb1.ntp.org:/home/stenn/ntp-stable X-Git-Tag: NTP_4_3_106~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3878aa052537b7052862530ca0ccd250571f60c2;p=thirdparty%2Fntp.git Merge psp-deb1.ntp.org:/home/stenn/ntp-stable into psp-deb1.ntp.org:/net/nfs1/nfs/home/stenn/ntp-dev bk: 5e2549cbW7XZcl6uHiIh5lE063Wm8g --- 3878aa052537b7052862530ca0ccd250571f60c2 diff --cc ChangeLog index 2b2731409,00ee95a94..2956096e9 --- a/ChangeLog +++ b/ChangeLog @@@ -1,9 -1,42 +1,46 @@@ +* [Bug 3432] refclocks that 'write()' should check the result + - plus some more work on warnings for unchecked results + +From ntp-4.2.8p14: --- + * [Sec 3610] process_control() should bail earlier on short packets. stenn@ + - Reported by Philippe Antoine + * [Bug 3637] Emit the version of ntpd in saveconfig. stenn@ + * [Bug 3636] NMEA: combine time/date from multiple sentences + * [Bug 3635] Make leapsecond file hash check optional + * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@ + * [Bug 3628] raw DCF decoding - improve robustness with Zeller's congruence + - implement Zeller's congruence in libparse and libntp + * [Bug 3627] SIGSEGV on FreeBSD-12 with stack limit and stack gap + - integrated patch by Cy Schubert + * [Bug 3620] memory leak in ntpq sysinfo + - applied patch by Gerry Garvey + * [Bug 3619] Honour drefid setting in cooked mode and sysinfo + - applied patch by Gerry Garvey + * [Bug 3617] Add support for ACE III and Copernicus II receivers + - integrated patch by Richard Steedman + * [Bug 3615] accelerate refclock startup + * [Bug 3613] Propagate noselect to mobilized pool servers + - Reported by Martin Burnicki + * [Bug 3612] Use-of-uninitialized-value in receive function + - Reported by Philippe Antoine + * [Bug 3611] NMEA time interpreted incorrectly + - officially document new "trust date" mode bit for NMEA driver + - restore the (previously undocumented) "trust date" feature lost with [bug 3577] + * [Bug 3609] Fixing wrong falseticker in case of non-statistic jitter + - mostly based on a patch by Michael Haardt, implementing 'fudge minjitter' + * [Bug 3608] libparse fails to compile on S11.4SRU13 and later + - removed ffs() and fls() prototypes as per Brian Utterback + * [Bug 3604] Wrong param byte order passing into record_raw_stats() in + ntp_io.c + - fixed byte and paramter order as suggested by wei6410@sina.com + * [Bug 3601] Tests fail to link on platforms with ntp_cv_gc_sections_runs=no + * [Bug 3599] Build fails on linux-m68k due to alignment issues + - added padding as suggested by John Paul Adrian Glaubitz + * [Bug 3594] ntpd discards messages coming through nmead + * [Bug 3593] ntpd discards silently nmea messages after the 5th string + * [Bug 3590] Update refclock_oncore.c to the new GPS date API * [Bug 3585] Unity tests mix buffered and unbuffered output - stdout+stderr are set to line buffered during test setup now * [Bug 3583] synchronization error @@@ -45,9 -83,8 +87,10 @@@ - monitor daemon child startup & propagate exit codes * [Bug 1433] runtime check whether the kernel really supports capabilities - (modified) patch by Kurt Roeckx + * Clean up sntp/networking.c:sendpkt() error message. +(4.3.99) 2019/06/07 Released by Harlan Stenn +From ntp-4.2.8p13: --- (4.2.8p13) 2019/03/07 Released by Harlan Stenn diff --cc ntpd/refclock_nmea.c index c07966e3d,4fdadea61..48f39de35 --- a/ntpd/refclock_nmea.c +++ b/ntpd/refclock_nmea.c @@@ -325,12 -320,16 +320,9 @@@ static int nmead_open (const char * dev * support functions by defining NMEA_WRITE_SUPPORT to non-zero... */ #if NMEA_WRITE_SUPPORT - static void gps_send(int, const char *, struct peer *); -# ifdef SYS_WINNT -# undef write /* ports/winnt/include/config.h: #define write _write */ -extern int async_write(int, const void *, unsigned int); -# define write(fd, data, octets) async_write(fd, data, octets) -# endif /* SYS_WINNT */ - #endif /* NMEA_WRITE_SUPPORT */ - static int32_t g_gpsMinBase; - static int32_t g_gpsMinYear; - /* * ------------------------------------------------------------------- * Transfer vector