From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10706051736q4e1852a9g3f54d8f6e2d182b4@mail.gmail.com> Date: Tue, 5 Jun 2007 17:36:18 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] quiz Topicbox-Message-UUID: 7976e7e8-ead2-11e9-9d60-3106f5b1d025 /* catch the bug */ struct x { int botch:1; }; fun(){ struct x x; x.botch = 0; x.botch = 1; } ok, what's the bug? anyone? I just found this out today. (no, I don't use bitfields, but insane people do) ron