News for hackers. Stuff that matters.
Re:Worst Bug Ever by geon on Monday January 21, 2013 @03:51PM (#5093691)

    if ((flag & FLAG_VALUE) == TRUE) ...
That would still check if flag is 1, right?
Re:Worst Bug Ever by azth on Monday January 21, 2013 @04:04PM (#5093754)
That is correct.
Re:Worst Bug Ever by mpyne on Monday January 21, 2013 @09:23PM (#5095147)
Indeed, great catch (this is why I use things like QFlags now, as it has a simple "testFlag" method)