News for hackers. Stuff that matters.
Re:Finding More Than One Worm in the Apple by tempodox on Thursday May 15, 2014 @03:34AM (#7748227)
Aside from the problems discussed in the article, don't define a C macro like this:

  #define FOOBAR  { foo(); bar(); }
but do it like that:

  #define FOOBAR  do { foo(); bar(); } while (0)
The latter is “C syntax safe”, the former is not.

There are no comments on this comment yet.