summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/src/locale.cc
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-09-01 20:39:13 +0000
committerkan <kan@FreeBSD.org>2002-09-01 20:39:13 +0000
commitc31428d2117318fc5d72e9868d7d34eee52c4eba (patch)
treef69812e8f56ae46c848e604412b0729b776c7756 /contrib/libstdc++/src/locale.cc
parent2e25f3a6c57335cba50111faceb0ce2ab59e9bcb (diff)
downloadFreeBSD-src-c31428d2117318fc5d72e9868d7d34eee52c4eba.zip
FreeBSD-src-c31428d2117318fc5d72e9868d7d34eee52c4eba.tar.gz
Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
Diffstat (limited to 'contrib/libstdc++/src/locale.cc')
-rw-r--r--contrib/libstdc++/src/locale.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libstdc++/src/locale.cc b/contrib/libstdc++/src/locale.cc
index 26c2834..3cb9d1b 100644
--- a/contrib/libstdc++/src/locale.cc
+++ b/contrib/libstdc++/src/locale.cc
@@ -202,7 +202,7 @@ namespace std
if (strcmp(__s, "C") == 0 || strcmp(__s, "POSIX") == 0)
(_M_impl = _S_classic)->_M_add_reference();
else if (strcmp(__s, "") == 0)
- _M_impl = new _Impl(setlocale(LC_ALL, __s), 1);
+ _M_impl = new _Impl(setlocale(LC_ALL, NULL), 1);
else
_M_impl = new _Impl(__s, 1);
}
OpenPOWER on IntegriCloud