X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: assembly code of the "strange error" - program Date: 2 Aug 2004 15:24:37 GMT Lines: 18 Message-ID: <2n74llFts6lmU1@uni-berlin.de> References: <20040727070949 DOT 29244 DOT 00000306 AT mb-m19 DOT aol DOT com> <410D7A24 DOT 1306F0C1 AT yahoo DOT com> X-Trace: news.uni-berlin.de bdFbD0gCuH/n7kiQi4bDpg0vhQSl94bhrz6Zs4yRTgwyQmVLnJppdiuckg X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com CBFalconer wrote: > That applies to automatic and malloced storage. static storage is > guaranteed to be initialized to 'all bytes zero' barring explicit > other initialization. Close but not quite correct, I think. It's actually guaranteed to be initialized to all contained objects equalling their particular flavour of zero. That's often the same as all bytes zero, but it doesn't have to be. > Read the C standard. That is why it exists. Full ACK. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.