On Wed, Jan 13, 2016 at 08:23:54PM +0100, Geoff McLane wrote: > I do not know if specifically setting the debugFile to 0 is required, > but otherwise there is no guarantee that it starts as a zero... and I > see it tested in a lots of places, maybe before it is otherwise > initialized... I think I'd set it to NULL, but yeah it needs to be set. Can we use another ifdef to do fflush in the relevant functions, or just use fflush rather than line buffering? Cheers, Adam.