subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1399466 - /subversion/trunk/subversion/libsvn_subr/sysinfo.c
Date Wed, 17 Oct 2012 22:32:25 GMT
Author: danielsh
Date: Wed Oct 17 22:32:25 2012
New Revision: 1399466

URL: http://svn.apache.org/viewvc?rev=1399466&view=rev
Log:
Followup to r1399462:

* subversion/libsvn_subr/sysinfo.c
  (lsb_release): Don't return an error where a string is expected.

Modified:
    subversion/trunk/subversion/libsvn_subr/sysinfo.c

Modified: subversion/trunk/subversion/libsvn_subr/sysinfo.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/sysinfo.c?rev=1399466&r1=1399465&r2=1399466&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/sysinfo.c (original)
+++ subversion/trunk/subversion/libsvn_subr/sysinfo.c Wed Oct 17 22:32:25 2012
@@ -363,7 +363,8 @@ lsb_release(apr_pool_t *pool)
           else if (0 == svn_cstring_casecmp(key, "Codename"))
             codename = line->data;
         }
-      SVN_ERR(svn_stream_close(lsbinfo));
+      err = svn_error_compose_create(err,
+                                     svn_stream_close(lsbinfo));
       if (err)
         {
           svn_error_clear(err);



Mime
View raw message