Menu

#2 make the log line buffered

open-accepted
nobody
None
5
2006-02-13
2006-02-09
No

This patch will make the crossfire log line buffered.
This allows one to actually see the log before a crash.
STDOUT is also used for logging and this is often line
buffered. Since it is not a performance issue (at least
not with the output the server usually gives), it can
be safely applied.

patch author: Marc Lehmann <crossfire@schmorp.de>

Discussion

  • Pippijn van Steenhoven

    patch to common/init.c for setlinebuf

     
  • Pippijn van Steenhoven

    Logged In: YES
    user_id=1350940

    Patch applied

     
  • Pippijn van Steenhoven

    • status: open --> open-accepted
     

Log in to post a comment.