author | Anders Melchiorsen <mail@cup.kalibalik.dk> | |
Mon, 4 Aug 2008 10:18:40 +0000 (12:18 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Aug 2008 04:46:42 +0000 (21:46 -0700) | ||
commit | 7d0b18a4da1be9e738293cc13812757ca47ed109 | |
tree | 7dd79690ee16d7af1ccf8a9519c59132599bc35a | tree | snapshot |
parent | 611921654ffb854338ab758009a93c70054fab7f | commit | diff |
Add output flushing before fork()
This adds fflush(NULL) before fork() in start_command(), to keep
the generic interface safe.
A remaining use of fork() with no flushing is in a comment in
show_tree(). Rewrite that comment to use start_command().
Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This adds fflush(NULL) before fork() in start_command(), to keep
the generic interface safe.
A remaining use of fork() with no flushing is in a comment in
show_tree(). Rewrite that comment to use start_command().
Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-ls-tree.c | diff | blob | history | |
run-command.c | diff | blob | history |