locale.cc: Tweak a comment.
authorPaolo Carlini <pcarlini@suse.de>
Tue, 21 Oct 2003 11:42:29 +0000 (11:42 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 21 Oct 2003 11:42:29 +0000 (11:42 +0000)
2003-10-21  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc: Tweak a comment.
* src/localename.cc: Move a comment.

From-SVN: r72745

libstdc++-v3/ChangeLog
libstdc++-v3/src/locale.cc
libstdc++-v3/src/localename.cc

index 1493a4deef06def331c583929bbb52526157d4f5..286ff68cdd2a7a282de55fcdb1a6aae384c71c5e 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-21  Paolo Carlini  <pcarlini@suse.de>
+
+       * src/locale.cc: Tweak a comment.
+       * src/localename.cc: Move a comment.
+
 2003-10-20  Benjamin Kosnik  <bkoz@redhat.com>
  
        PR libstdc++/10081
index 78d0059e3ed6fa20990de4c9d9f6baf8f0e3b604..c3e57863fb3e6a8b0798c45c20b974eaa41d9a21 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <clocale>
 #include <cstring>
-#include <cstdlib>     // For getenv, free.
+#include <cstdlib>     // For getenv
 #include <cctype>
 #include <cwctype>     // For towupper, etc.
 #include <locale>
@@ -55,7 +55,6 @@ namespace std
   __gthread_once_t             locale::_S_once = __GTHREAD_ONCE_INIT;
 #endif
 
-
   locale::locale(const locale& __other) throw()
   { (_M_impl = __other._M_impl)->_M_add_reference(); }
 
index e14053c95803e96bf36bb99332b008e2a6e52917..2c12ba7552ca30dfa0727ae507f49cdade6ce371 100644 (file)
@@ -59,8 +59,8 @@ namespace std
              }
            else
              {
-               string __res;
                // LANG may set a default different from "C".
+               string __res;
                char* __env = std::getenv("LANG");
                if (!__env || std::strcmp(__env, "") == 0 
                    || std::strcmp(__env, "C") == 0