Changeset 18055 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 18, 2009 12:01:51 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/string.cpp
r8245 r18055 38 38 #include <iprt/err.h> 39 39 #include "internal/string.h" 40 41 #include <locale.h>42 43 44 /**45 * Init C runtime locale46 * note: actually where is no need in this global var, use it only for47 * auto run of setlocale() func.48 */49 /** @todo rewrite this to do setlocale() from some proper init function. */50 static int g_RTLocaleInited = (setlocale(LC_CTYPE, "") != NULL);51 52 40 53 41 /** -
trunk/src/VBox/Runtime/r3/init.cpp
r14856 r18055 55 55 # include <stdlib.h> 56 56 #endif 57 58 #include <locale.h> 59 57 60 #include "internal/path.h" 58 61 #include "internal/process.h" … … 260 263 g_u64ProgramStartMilliTS = g_u64ProgramStartNanoTS / 1000000; 261 264 265 /** 266 * Init C runtime locale 267 */ 268 char *pcDummy = setlocale(LC_CTYPE, ""); 269 262 270 /* 263 271 * More stuff to come?
Note:
See TracChangeset
for help on using the changeset viewer.