[OpenAFS-devel] Small bugfix: bosserver.c

Erland Lewin erland@lewin.nu
Mon, 14 May 2007 17:31:41 +0200


There's an fclose call at the end of openafs-1.4.4/src/bozo/bosserver.c 
which can cause a segmentation fault.

Moving the fclose (with the comment "close so rm BosLog works") to 
inside the if( bozo_logFile ) {} clause (after the fflush) fixes the 
problem.

/Erland