--- deliantra/server/common/init.c 2006/02/03 07:25:24 1.2 +++ deliantra/server/common/init.c 2006/02/22 18:53:48 1.3 @@ -100,7 +100,7 @@ * in some file in the common area so that standalone * programs, like the random map generator, can be built. */ -char *spellpathnames[NRSPELLPATHS] = { +const char* const spellpathnames[NRSPELLPATHS] = { "Protection", "Fire", "Frost", @@ -236,7 +236,9 @@ settings.logfilename); logfile = stderr; } - setlinebuf(logfile); + else { + setvbuf(logfile, NULL, _IOLBF, 0); + } exiting = 0; first_player=NULL; first_friendly_object=NULL;