Would the attached be safe?

Saves 2% startup time...

Andre'
Index: Messages.cpp
===================================================================
--- Messages.cpp        (revision 23832)
+++ Messages.cpp        (working copy)
@@ -111,8 +111,8 @@
 
        // The string was not found, use gettext to generate it
 
-       string const oldLANGUAGE = getEnv("LANGUAGE");
-       string const oldLC_ALL = getEnv("LC_ALL");
+       static string const oldLANGUAGE = getEnv("LANGUAGE");
+       static string const oldLC_ALL = getEnv("LC_ALL");
        if (!lang_.empty()) {
                // This GNU extension overrides any language locale
                // wrt gettext.

Reply via email to