/*
- * Copyright (C) 1997-2014 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2014 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
strerror(errno));
exit(EXIT_FAILURE);
}
- setlinebuf(me->logfile);
+ /* equivalent to setlinebuf(), but portable */
+ setvbuf(me->logfile, NULL, _IOLBF, 0);
}
/**