Article View: alt.folklore.computers
Article #4223Re: Stupid programming errors
From: James THIELE
Date: Mon, 17 Sep 1990 15:58
Date: Mon, 17 Sep 1990 15:58
16 lines
1346 bytes
1346 bytes
In article <17...@haddock.ima.isc.com> t...@haddock.ima.isc.com (Andrew Tannenbaum) writes: > |Added silly note... I wonder how many C programs there are out there |which have "default" switch conditions where default is spelled wrong |(making it look like a goto label). I've seen defualt at least, and I |know I've seen this bug on several occasions, in such places as |the AT&T 5.3 sources. I say it recently in an version of *grep* that had been ported to a non-UN*X environment. Didn't seem to handle command lines correctly -- I had to look at it several times before I saw it. Then had to think about what the compiler thought (a label, of course). | | Andrew Tannenbaum Interactive Cambridge, MA +1 617 661 7474 James Thiele -- microsoft!jamesth
Technical Details
Message-ID:
<57462@microsoft.UUCP>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!microsoft!jamesthReferences:
<3056.26e4dd44@cc.helsinki.fi> <119586@linus.mitre.org> <17994@haddock.ima.isc.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!microsoft!jamesth From: jamesth@microsoft.UUCP (James THIELE) Newsgroups: alt.folklore.computers Subject: Re: Stupid programming errors Message-ID: <57462@microsoft.UUCP> Date: 17 Sep 90 15:58:44 GMT References: <3056.26e4dd44@cc.helsinki.fi> <119586@linus.mitre.org> <17994@haddock.ima.isc.com> Reply-To: jamesth@microsoft.UUCP (James THIELE) Organization: Microsoft Corp., Redmond WA Lines: 16 Posted: Mon Sep 17 16:58:44 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit