Browse Source

BUG: use LC_MESSAGES = C instead of en_EN

Bill Hoffman 17 năm trước cách đây
mục cha
commit
935e984900
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      Source/CTest/cmCTestUpdateHandler.cxx

+ 4 - 4
Source/CTest/cmCTestUpdateHandler.cxx

@@ -259,11 +259,11 @@ int cmCTestUpdateHandler::ProcessHandler()
     {
     saveLCMessages = lcmess;
     }
-  // if LC_MESSAGES is not set to en_EN, then 
-  // set it, so that svn/cvs info will be in english
-  if(! (lcmess && strcmp(lcmess, "en_EN") == 0))
+  // if LC_MESSAGES is not set to C, then 
+  // set it, so that svn/cvs info will be in english ascii
+  if(! (lcmess && strcmp(lcmess, "C") == 0))
     {
-    cmSystemTools::PutEnv("LC_MESSAGES=en_EN");
+    cmSystemTools::PutEnv("LC_MESSAGES=C");
     }
   std::string checkoutErrorMessages;
   int retVal = 0;