Fix a problem with "svn log --diff" seen on Windows, ensure that the log output comes before the diff output. * subversion/svn/log-cmd.c (log_entry_receiver): Extra flush. git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-log-diff@1295671 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/subversion/svn/log-cmd.c b/subversion/svn/log-cmd.c index 697eb9e..4057b0a 100644 --- a/subversion/svn/log-cmd.c +++ b/subversion/svn/log-cmd.c
@@ -303,6 +303,7 @@ end_revision.value.number = log_entry->revision; SVN_ERR(svn_cmdline_printf(pool, _("\n"))); + SVN_ERR(svn_cmdline_fflush(stdout)); SVN_ERR(svn_client_diff_peg5(diff_options, lb->target_path_or_url, &lb->target_peg_revision,