Re: disable_dynamic_updates report

2019-08-29 Thread Eric S. Raymond via devel
Gary E. Miller via devel : > So static storage items are initialized for at least C11. To zeros. It would be *deeply* shocking and break all manner of code if a C compiler ever failed to enforce that. -- http://www.catb.org/~esr/";>Eric S. Raymond signature.asc Description:

Re: disable_dynamic_updates report

2019-08-29 Thread Gary E. Miller via devel
Yo Ian! On Thu, 29 Aug 2019 17:16:11 -0500 Ian Bruene via devel 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:

Re: disable_dynamic_updates report

2019-08-29 Thread Ian Bruene via devel
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;"

Re: disable_dynamic_updates report

2019-08-29 Thread Gary E. Miller via devel
Yo Hal! > On Thu, 29 Aug 2019 14:06:25 -0700 > Hal Murray via devel wrote: > > > >> By "floating", you mean uninnitialized? In C that's going to > > >> mean it's > > false > > > > > Yes. My understanding of C is that anything not explicitly set has > > > whatever random value happens to

Re: disable_dynamic_updates report

2019-08-29 Thread Gary E. Miller via devel
Yo Hal! On Thu, 29 Aug 2019 14:06:25 -0700 Hal Murray via devel wrote: > >> By "floating", you mean uninnitialized? In C that's going to mean > >> it's > false > > > Yes. My understanding of C is that anything not explicitly set has > > whatever random value happens to be in that memory loc

Re: disable_dynamic_updates report

2019-08-29 Thread Hal Murray via devel
>> By "floating", you mean uninnitialized? In C that's going to mean it's false > Yes. My understanding of C is that anything not explicitly set has whatever > random value happens to be in that memory location. Possibly changed if > certain unknown compiler options are chosen. I thought g

Re: disable_dynamic_updates report

2019-08-29 Thread Ian Bruene via devel
On 8/29/19 3:46 PM, Eric S. Raymond wrote: By "floating", you mean uninnitialized? In C that's going to mean it's false Yes. My understanding of C is that anything not explicitly set has whatever random value happens to be in that memory location. Possibly changed if certain unknown compil

Re: disable_dynamic_updates report

2019-08-29 Thread Eric S. Raymond via devel
Ian Bruene via devel : > > The other day I determined that the flag disable_dynamic_updates (currently > in the io_data struct) is either not properly initialized, or is blocking > off a large chunk of dead code. After reading through the relevant code and > looking through the history I think it