mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10035
This commit is contained in:
parent
251a7ed930
commit
052c821625
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue