On Thu, 29 Jun 2000, Jean-Marc Desperrier wrote:
> > Curiously, is_malloced is never initialized by libtermcao! (Bug? I don't
> > remember whether the C standard requires static variables to be
> > initialized to zero by the runtime environment. Bad style in any case!)
>
> They require it.
While most good programmers have a habit of explicitly initializing
variables whose initialization matters, just to make things clearer for
the reader, C has *always* guaranteed initialization of static variables
to zero.
Henry Spencer
[EMAIL PROTECTED]
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/
- Crash in xterm-136 with unicode patch 0.7 (termcap) Markus Kuhn
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Jean-Marc Desperrier
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Henry Spencer
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Bruno Haible
- Re: Crash in xterm-136 with unicode patch 0.... Thomas Dickey
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Ulrich Drepper
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Henry Spencer
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Bruno Haible
- Re: Crash in xterm-136 with unicode patch 0.... Ulrich Drepper
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Ulrich Drepper
- Re: Crash in xterm-136 with unicode patch 0.... Henry Spencer
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Thomas Dickey
- Re: Crash in xterm-136 with unicode patch 0.7 (t... Ulrich Drepper
