From 219f5ebf8fca3572d8d4265d78d0e4670ca35a27 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 20 Feb 2014 19:26:10 +0000 Subject: Vendor import svn-1.8.8 --- subversion/svn/svn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'subversion/svn/svn.c') diff --git a/subversion/svn/svn.c b/subversion/svn/svn.c index 7ed7ed22041a..52760dd1eb24 100644 --- a/subversion/svn/svn.c +++ b/subversion/svn/svn.c @@ -2939,6 +2939,10 @@ sub_main(int argc, const char *argv[], apr_pool_t *pool) "Subversion")); } + /* Ensure that stdout is flushed, so the user will see any write errors. + This makes sure that output is not silently lost. */ + err = svn_error_compose_create(err, svn_cmdline_fflush(stdout)); + return EXIT_ERROR(err); } else -- cgit v1.2.3