diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-18 20:18:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-18 20:18:27 -0700 |
commit | 4c048e358c0ca39b023d207113624fae464df851 (patch) | |
tree | 24bb63b8604ead86b91fc00261f0906c4b2e8470 | |
parent | 97d7fee2cb068f215a593c6e5623b265db45d3bc (diff) | |
parent | 48196afd2827b36ca5768f886f0866b6dfebdd10 (diff) | |
download | git-4c048e358c0ca39b023d207113624fae464df851.tar.gz |
Merge branch 'jc/setlinebuf-setvbuf'
* jc/setlinebuf-setvbuf:
daemon.c: avoid setlinebuf()
-rw-r--r-- | daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); |