tst2005googlecode / umurmur

Automatically exported from code.google.com/p/umurmur
1 stars 0 forks source link

[PATCH] Flush the logfile for every message #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Logfile implementation works but it doesn't flush every message to the logfile 
(For example when a user connect to the server). It flush only when the process 
close. This patch correct this issue and flush every time fprintf(logfile, ...) 
is called.

Original issue reported on code.google.com by pierre.h...@gmail.com on 16 Feb 2011 at 10:16

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by fatbob.s...@gmail.com on 26 Feb 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Fixed in r166 by setting the stream as line buffered instead of fflush()-ing.

Original comment by fatbob.s...@gmail.com on 26 Feb 2011 at 9:56