In the last episode (Jun 23), Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum said:
No, not all of them. Just those running FreeBSD. Interresting...
Because on FreeBSD 4.x, stdio.h has this:
#define fileno(p) fileno_unlocked(p) #define fileno_unlocked(p) __sfileno(p) #define __sfileno(p) ((p)->_file)
, and since none of the macros cast p to FILE*, fileno(0) fails trying to index 0->_file :)
Changing the line in dummy.c to "fileno((FILE*)0);" should work around the problem.