Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76500 - trunk/libs/filesystem/v3/src
From: bdawes_at_[hidden]
Date: 2012-01-14 17:42:51


Author: bemandawes
Date: 2012-01-14 17:42:50 EST (Sat, 14 Jan 2012)
New Revision: 76500
URL: http://svn.boost.org/trac/boost/changeset/76500

Log:
Change from CP_THREAD_ACP to CP_ACP. Resolves #5592
Text files modified:
   trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp (original)
+++ trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp 2012-01-14 17:42:50 EST (Sat, 14 Jan 2012)
@@ -43,7 +43,7 @@
     const char* from, const char* from_end, const char*& from_next,
     wchar_t* to, wchar_t* to_end, wchar_t*& to_next) const
   {
- UINT codepage = AreFileApisANSI() ? CP_THREAD_ACP : CP_OEMCP;
+ UINT codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP;
 
     int count;
     if ((count = ::MultiByteToWideChar(codepage, MB_PRECOMPOSED, from,
@@ -63,7 +63,7 @@
     const wchar_t* from, const wchar_t* from_end, const wchar_t* & from_next,
     char* to, char* to_end, char* & to_next) const
   {
- UINT codepage = AreFileApisANSI() ? CP_THREAD_ACP : CP_OEMCP;
+ UINT codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP;
 
     int count;
     if ((count = ::WideCharToMultiByte(codepage, WC_NO_BEST_FIT_CHARS, from,


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk