daemon: use full buffered mode for stderr
authorErik Faye-Lund <kusmabite@gmail.com>
Thu, 4 Nov 2010 01:35:17 +0000 (02:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 23:53:51 +0000 (16:53 -0700)
commit48cfaea10879790ba6d2c8b566a0df75c411672d
tree1214e635ff6d4f22062648e2251eee8e31972766
parent30e1560230bc0154230b315a5f7c4f46870f9c81
daemon: use full buffered mode for stderr

Windows doesn't support line buffered mode for file
streams, so let's just use full buffered mode with
a big buffer ("4096 should be enough for everyone")
and add explicit flushing.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c