From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,31c0457c1c47fc2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-25 08:43:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3BD832AE.35A4B31B@sparc01.ftw.rsc.raytheon.com> From: Wes Groleau Reply-To: wwgrol@sparc01.ftw.rsc.raytheon.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Have you ever had a bug caused by... References: <27085883.0110191714.784d3d25@posting.google.com> <3BD7DD2B.A8FD8448@brighton.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 25 Oct 2001 10:41:34 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1004024500 151.168.144.162 (Thu, 25 Oct 2001 10:41:40 CDT) NNTP-Posting-Date: Thu, 25 Oct 2001 10:41:40 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:15187 Date: 2001-10-25T10:41:34-05:00 List-Id: John English wrote: > Have you ever had a bug caused by a one-character typo? E.g.: Since your examples were in C, I get a kick out of this one: some_file.h, line 1537: define THE_MAX = 100 my_file.c, line whatever: for (i=THE_MAX; i--; i=0) {...} OR for (i=0; i++; i=THE_MAX) OR goal=THE_MAX; /* set a new goal */ -- Wes Groleau http://freepages.rootsweb.com/~wgroleau