1
0
mirror of https://github.com/git/git.git synced 2024-09-30 17:11:23 +02:00

Merge branch 'jc/setlinebuf-setvbuf'

* jc/setlinebuf-setvbuf:
  daemon.c: avoid setlinebuf()
This commit is contained in:
Junio C Hamano 2008-09-18 20:18:27 -07:00
commit 4c048e358c

@ -1083,7 +1083,8 @@ int main(int argc, char **argv)
openlog("git-daemon", LOG_PID, LOG_DAEMON);
set_die_routine(daemon_die);
} else
setlinebuf(stderr); /* avoid splitting a message in the middle */
/* avoid splitting a message in the middle */
setvbuf(stderr, NULL, _IOLBF, 0);
if (inetd_mode && (group_name || user_name))
die("--user and --group are incompatible with --inetd");