VirtualBox

Changeset 18055 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Mar 18, 2009 12:01:51 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44688
Message:

Runtime: call setlocale from RTR3Init, not as a global initialiser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r14856 r18055  
    5555# include <stdlib.h>
    5656#endif
     57
     58#include <locale.h>
     59
    5760#include "internal/path.h"
    5861#include "internal/process.h"
     
    260263    g_u64ProgramStartMilliTS = g_u64ProgramStartNanoTS / 1000000;
    261264
     265    /**
     266     * Init C runtime locale
     267     */
     268    char *pcDummy = setlocale(LC_CTYPE, "");
     269
    262270    /*
    263271     * More stuff to come?
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette