From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: dmr@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] GUI toolkit for Plan 9 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 28 Feb 2002 16:34:35 -0500 Topicbox-Message-UUID: 5c88dd92-eaca-11e9-9e20-41e7f4b1d025 > I think 3B2 code deserves its own place in hell. Poring over > the ESS#5 code, someone found that there were lots of > strcmp(p, "f(") == 0 checks (I may have gotten the exact > string wrong but it's close). It took us a while to figure > out why. Apparently, location 0 on the 3b had the 3 bytes > 'f' '(' '\0', someone noticed that when programs blew up > they were pointing to "f(", and the worlds most amazing > kludge for detecting nil pointers was born. Happily, it wasn't actually 5ESS, only Unix. Dennis