Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'so/submodule-no-update-first-time' into maint
[gitweb.git]
/
run-command.c
diff --git
a/run-command.c
b/run-command.c
index 2a1041ef6599c84fff6a8d9faf5dea23a2af3ab0..f91e446c86be8e27f98554567143d7ce6f934bd1 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-194,6
+194,7
@@
int start_command(struct child_process *cmd)
}
trace_argv_printf(cmd->argv, "trace: run_command:");
+ fflush(NULL);
#ifndef WIN32
{
@@
-201,7
+202,6
@@
int start_command(struct child_process *cmd)
if (pipe(notify_pipe))
notify_pipe[0] = notify_pipe[1] = -1;
- fflush(NULL);
cmd->pid = fork();
if (!cmd->pid) {
/*