subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1543413 - /subversion/trunk/subversion/svn/svn.c
Date Tue, 19 Nov 2013 12:58:44 GMT
Author: rhuijben
Date: Tue Nov 19 12:58:44 2013
New Revision: 1543413

URL: http://svn.apache.org/r1543413
Log:
* subversion/svn/svn.c
  (sub_main): Combine possible errors instead of leaking one if an error
    occurs during flushing.

Found by: julianfoad

Modified:
    subversion/trunk/subversion/svn/svn.c

Modified: subversion/trunk/subversion/svn/svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1543413&r1=1543412&r2=1543413&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Tue Nov 19 12:58:44 2013
@@ -3012,7 +3012,7 @@ sub_main(int argc, const char *argv[], a
 
       /* Ensure that stdout is flushed, so the user will see any write errors.
          This makes sure that output is not silently lost. */
-      SVN_INT_ERR(svn_cmdline_fflush(stdout));
+      err = svn_error_compose_create(err, svn_cmdline_fflush(stdout));
 
       return EXIT_ERROR(err);
     }



Mime
View raw message