News for hackers. Stuff that matters.
Re:Show HN: Sabotage your C code by Cheezmeister on Wednesday March 09, 2016 @10:28PM (#11257250)
Nifty.

`p = (errno = SABOTAGE) ? NULL : malloc(size);`

Is this a typo in README, or does it actually assign and then check?

Re:Show HN: Sabotage your C code by outerspace on Thursday March 10, 2016 @11:41AM (#11260222)
Not a typo. It could have been split into two assignments:

    errno = SABOTAGE;   // 0 or ENOMEM
    p = errno ? NULL : malloc(size);
but this would have made the preprocessor code a bit trickier.