*** empty log message ***

svn path=/trunk/boinc/; revision=10035
This commit is contained in:
Walt Gribben 2006-04-27 05:48:21 +00:00
parent 251a7ed930
commit 052c821625
2 changed files with 8 additions and 2 deletions

View File

@ -4200,3 +4200,9 @@ Rom 25 Apr 2006
html/user/
forum_thread.php
Walt 25 Apr 2006
- Bug Fix: Save local copy of locale so it gets restored properly later.
lib/
gui_rpc_client.h

View File

@ -617,12 +617,12 @@ struct RPC {
};
struct SET_LOCALE {
char* locale;
std::string locale;
inline SET_LOCALE() {
locale = setlocale(LC_ALL, NULL);
setlocale(LC_ALL, "C");
}
inline ~SET_LOCALE() {
setlocale(LC_ALL, locale);
setlocale(LC_ALL, locale.c_str());
}
};