.@ Tony Finch – blog


My version of unifdef is in all the BSDs, including Mac OS X (yay!). I was disappointed that it isn’t in Tiger, but it is in Leopard, though they still ship the old man page (FAIL). It also lurks in the Linux-2.6 build system, though without the man page, and patched because glibc is too lame to include strlcpy(). Solaris needs to get a grip since it still ships with the old pre-ANSI version by Dave Yost. Based on its man page, AIX is in the same situation. The HP-UX man page has been rewritten but it too looks like the Yost version (which was BSD licenced, not public domain!). Irix is unusual, since it doesn’t use the old Berkeley code but has a version written by Brendan Eich (also known as the creator of JavaScript). It looks like I could steal some features from his version.