Commit 0392ff98 by Paolo Carlini Committed by Paolo Carlini

locale.cc (locale::locale(const char*)): ...

2003-10-16  Paolo Carlini  <pcarlini@suse.de>

	* src/locale.cc (locale::locale(const char*)): ... one
	more comparison missed in the previous commit.

From-SVN: r72574
parent d2f663d1
2003-10-16 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::locale(const char*)): ... one
more comparison missed in the previous commit.
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
......
......@@ -285,7 +285,7 @@ namespace std
}
// ... otherwise either an additional instance of
// the "C" locale or LANG.
else if (std::strcmp(__res.c_str(), "C") == 0)
else if (__res == "C")
(_M_impl = _S_classic)->_M_add_reference();
else
_M_impl = new _Impl(__res.c_str(), 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment