Xref: utzoo comp.software-eng:2992 comp.lang.c:26454 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!emory!hubcap!billwolf%hazel.cs.clemson.edu From: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) Newsgroups: comp.software-eng,comp.lang.c Subject: Re: Errors aren't that simple Message-ID: <8201@hubcap.clemson.edu> Date: 1 Mar 90 21:52:36 GMT References: <12643@ulysses.att.com> Sender: news@hubcap.clemson.edu Reply-To: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu Lines: 15 From ekrell@ulysses.att.com (Eduardo Krell): > And what makes you think the network wouldn't have crashed if the software > had been written in Ada (you seem to imply this)? Do you know the details > of the cause of the crash?. The crash apparently was caused by a programmer who used a "break" within an if (which itself was within a switch) for the purpose of exiting the if; the real result was to exit the switch instead. If C provided a case statement rather than a switch..break system, then the error would most likely have been prevented. See the recent discussion of this topic in comp.lang.c. Bill Wolfe, wtwolfe@hubcap.clemson.edu