disable_dynamic_updates report

Gary E. Miller gem at rellim.com
Thu Aug 29 22:34:31 UTC 2019


Yo Ian!

On Thu, 29 Aug 2019 17:16:11 -0500
Ian Bruene via devel <devel at ntpsec.org> wrote:

> On 8/29/19 4:36 PM, Gary E. Miller via devel wrote:
> > Hal you are corect.  Page 140, section 6.7.9 Initialization.
> >
> > "If an object that has static or thread storage duration is not
> > initialized explicitly, then:
> > [...]
> > -- if it has arithmetic tye, it is initialized to (positive or
> > unsigned) zero;"
> >
> > So static storage items are initialized for at least C11.  
> 
> We use C99 not C11. However the C99 standard has the same language in
> it.

You only think you use c99.

Look in /usr/include/features.h for _GNU_SOURCE.  NTPsec compiles
with _GNU_SOURCE.  That turns on this in features.h:

/* If _GNU_SOURCE was defined by the user, turn on all the other features.  */
#ifdef _GNU_SOURCE
[...]
# define _ISOC11_SOURCE 1
[...]
# define _POSIX_SOURCE  1
[...]
# define _POSIX_C_SOURCE        200809L
[...]
# define _XOPEN_SOURCE  700
[...]
#endif

Side effect is that this, in wscript, does nothing:

wscript:        ctx.define("_POSIX_C_SOURCE", "200112L", quote=False)


I suggest you take a good long hard look at the contents of that include
file.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190829/4e8aa76a/attachment.bin>


More information about the devel mailing list