_XOPEN_SOURCE in ntpd/refclock_gpsd.c => warnings on BSD
Hal Murray
hmurray at megapathdsl.net
Sat Aug 24 04:05:53 UTC 2019
> I see no changes related to _XOPEN_SOURCE since 2017. Perhaps you're
> thinking of GPSD, where there was bunch of rework in that area just before
> the 3.19 release.
Thanks. You are probably right.
Eric: This area just got more complicated. See #614
strerror_r() has two modes depending on
The XSI-compliant version is provided if:
(_POSIX_C_SOURCE >= 200112L) && ! _GNU_SOURCE
Otherwise, the GNU-specific version is provided.
Our code is (sometimes?) assuming the wrong one. The GNU version (sometimes?)
doesn't put the string into the buffer we are printing.
--
These are my opinions. I hate spam.
More information about the devel
mailing list