diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/platforms/posix/posixHandler.cpp | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -4,6 +4,11 @@ VERSION 0.6.4cvs 2005-02-05 Vincent Richard <[email protected]> + * platforms/posix/posixHandler.cpp: removed extra '::' before + numeric constants. + +2005-02-05 Vincent Richard <[email protected]> + * utility/md5.cpp: fixed forward use of swapUint32Array() with gcc 3.3 (Apple). diff --git a/src/platforms/posix/posixHandler.cpp b/src/platforms/posix/posixHandler.cpp index 77ba833c..32fe02bc 100644 --- a/src/platforms/posix/posixHandler.cpp +++ b/src/platforms/posix/posixHandler.cpp @@ -104,9 +104,9 @@ const vmime::datetime posixHandler::getCurrentLocalTime() const const vmime::charset posixHandler::getLocaleCharset() const { - vmime::string prevLocale(::setlocale(::LC_ALL, "")); - vmime::charset ch(::nl_langinfo(::CODESET)); - ::setlocale(::LC_ALL, prevLocale.c_str()); + vmime::string prevLocale(::setlocale(LC_ALL, "")); + vmime::charset ch(::nl_langinfo(CODESET)); + ::setlocale(LC_ALL, prevLocale.c_str()); return (ch); } |