Index: boost/thread/exceptions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/exceptions.hpp,v
retrieving revision 1.14
diff -u -w -r1.14 exceptions.hpp
--- boost/thread/exceptions.hpp	8 Sep 2004 15:57:03 -0000	1.14
+++ boost/thread/exceptions.hpp	2 Mar 2005 15:39:33 -0000
@@ -36,8 +36,6 @@
 
     int native_error() const;
 
-    const char* message() const;
-
 private:
     int m_sys_err;
 };
Index: libs/thread/src/exceptions.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/thread/src/exceptions.cpp,v
retrieving revision 1.10
diff -u -w -r1.10 exceptions.cpp
--- libs/thread/src/exceptions.cpp	8 Sep 2004 15:56:33 -0000	1.10
+++ libs/thread/src/exceptions.cpp	2 Mar 2005 15:39:33 -0000
@@ -12,59 +12,6 @@
 #include <boost/thread/detail/config.hpp>
 
 #include <boost/thread/exceptions.hpp>
-#include <cstring>
-#include <string>
-
-# ifdef BOOST_NO_STDC_NAMESPACE
-namespace std { using ::strerror; }
-# endif
-
-// BOOST_POSIX or BOOST_WINDOWS specify which API to use.
-# if !defined( BOOST_WINDOWS ) && !defined( BOOST_POSIX )
-#   if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__)
-#     define BOOST_WINDOWS
-#   else
-#     define BOOST_POSIX
-#   endif
-# endif
-
-# if defined( BOOST_WINDOWS )
-#   include "windows.h"
-# else
-#   include <errno.h> // for POSIX error codes
-# endif
-
-namespace
-{
-
-std::string system_message(int sys_err_code)
-{
-    std::string str;
-# ifdef BOOST_WINDOWS
-    LPVOID lpMsgBuf;
-    ::FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER |
-        FORMAT_MESSAGE_FROM_SYSTEM |
-        FORMAT_MESSAGE_IGNORE_INSERTS,
-        NULL,
-        sys_err_code,
-        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
-        (LPSTR)&lpMsgBuf,
-        0,
-        NULL);
-    str += static_cast<LPCSTR>(lpMsgBuf);
-    ::LocalFree(lpMsgBuf); // free the buffer
-    while (str.size() && (str[str.size()-1] == '\n' ||
-               str[str.size()-1] == '\r'))
-    {
-        str.erase(str.size()-1);
-    }
-# else
-    str += std::strerror(errno);
-# endif
-    return str;
-}
-
-} // unnamed namespace
 
 namespace boost {
 
@@ -87,13 +34,6 @@
     return m_sys_err; 
 }
 
-const char* thread_exception::message() const
-{
-    if (m_sys_err != 0)
-        return system_message(m_sys_err).c_str();
-    return what();
-}
-
 lock_error::lock_error()
 {
 }

