9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] quiz
@ 2007-06-06  0:36 ron minnich
  2007-06-06  0:43 ` Roman Shaposhnick
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: ron minnich @ 2007-06-06  0:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

/* 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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-06-06  8:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-06  0:36 [9fans] quiz ron minnich
2007-06-06  0:43 ` Roman Shaposhnick
2007-06-06  3:41   ` ron minnich
2007-06-06  3:48     ` Roman Shaposhnik
2007-06-06  4:18       ` ron minnich
2007-06-06  4:30         ` Kris Maglione
2007-06-06  4:36           ` Kris Maglione
2007-06-06  7:05             ` Bruce Ellis
2007-06-06  8:15             ` W B Hacker
2007-06-06  1:07 ` Paul Lalonde
2007-06-06  1:16   ` Roman Shaposhnick
2007-06-06  8:49 ` [9fans] quiz prem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).