From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46666D12.9050204@conducive.org> Date: Wed, 6 Jun 2007 04:15:14 -0400 From: W B Hacker User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] quiz References: <13426df10706051736q4e1852a9g3f54d8f6e2d182b4@mail.gmail.com> <1181090589.4241.41.camel@work.sfbay.sun.com> <13426df10706052041x516117f0sf873a56ed5c05b94@mail.gmail.com> <1181101733.9939.138.camel@localhost> <13426df10706052118y47eab071sbf3bf435293ea75a@mail.gmail.com> <20070606043055.GA9948@kris.home> <20070606043608.GB9948@kris.home> In-Reply-To: <20070606043608.GB9948@kris.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 7a141874-ead2-11e9-9d60-3106f5b1d025 Kris Maglione wrote: > On Wed, Jun 06, 2007 at 12:30:55AM -0400, Kris Maglione wrote: >> !8c test.c && 8l test.8 >> ! >> !./8.out >> foo.x: -1 >> ! > > Also: > > !8c -wF test.c && 8l test.8 > warning: test.c:11 format mismatch d LONG 0:1, arg 2 > ! > > I'm surprised that there's not a warning about the overflow. > C *requires* the ability to create overflow situations w/o warning either by accident, design, or randomly. Job security bureau dictate AFAIK. What other 'feature' has been so steadfastly preserved? Just wouldn't be 'C' without overflows... Bill