Re: [PATCH] couple of small bugs

Joel Schopp <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <Pine.A41.4.44.0307291449000.51890-100000@ptroadster.austin.ibm.com>
You are correct.  At first I thought it was an architectural statement
that it would be 0, which is why I made the change.  I've now looked
at the C language and it explicitly says that all extern declarations
are implicitly initialized to 0.  This is a language statement which
means it will be true for all platforms.

So instead of a bug fix consider it a style change.  It does make the
intention of the code more explicit.  Of course, feel free to ignore
what I now realize is a matter of style and not correctness.

>
> Arjan van de Ven wrote:
>
> > isn't the BSS guaranteed to be zeroed ?
>
> It sure is.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.