subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1657542 - /subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp
Date Thu, 05 Feb 2015 11:45:10 GMT
Author: rhuijben
Date: Thu Feb  5 11:45:09 2015
New Revision: 1657542

URL: http://svn.apache.org/r1657542
Log:
* subversion/bindings/cxxhl/include/svncxxhl/exception.hpp
  (Message::Message): Rename errno argument, because that variable name is
    commonly implemented as macro to support thread safe error handling.

Modified:
    subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp

Modified: subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp?rev=1657542&r1=1657541&r2=1657542&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp (original)
+++ subversion/trunk/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp Thu Feb  5 11:45:09
2015
@@ -94,8 +94,8 @@ public:
     /**
      * Create a message object given an error code and error message.
      */
-    Message(int errno, const std::string& message)
-      : m_errno(errno),
+    Message(int errval, const std::string& message)
+      : m_errno(errval),
         m_message(message),
         m_trace(false)
       {}
@@ -104,8 +104,8 @@ public:
      * Create a message object given an error code and error message,
      * and set the flag that tells if this is a debugging traceback entry.
      */
-    Message(int errno, const std::string& message, bool trace)
-      : m_errno(errno),
+    Message(int errval, const std::string& message, bool trace)
+      : m_errno(errval),
         m_message(message),
         m_trace(trace)
       {}



Mime
View raw message