+2002-05-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/22_locale/ctype_scan_char.cc: Tweak.
+ * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
+
+ * docs/html/install.html: Fix.
+
+2002-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
+ Fix typo, use this->is() rather than manually (and perhaps
+ incorrectly) inlining it.
+ * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
+ Likewise.
+ * testsuite/22_locale/ctype_scan_char.cc: New file.
+
2002-05-18 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc
// Locale support -*- C++ -*-
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
bool
ctype<char>::
is(mask __m, char __c) const
- { return (_M_table)[__c] & __m; }
+ { return (_M_table)[static_cast<unsigned char>(__c)] & __m; }
const char*
ctype<char>::
is(const char* __low, const char* __high, mask* __vec) const
{
while (__low < __high)
- *__vec++ = (_M_table)[*__low++];
+ *__vec++ = (_M_table)[static_cast<unsigned char>(*__low++)];
return __high;
}
ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const
{
- while (__low < __high && !((_M_table)[*__low] & __m))
+ while (__low < __high && ! this->is(__m, *__low))
++__low;
return __low;
}
ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const
{
- while (__low < __high && ((_M_table + 1)[*__low] & __m) != 0)
+ while (__low < __high && this->is(__m, *__low))
++__low;
return __low;
}
-
-
-
-
-
ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const
{
- while (__low < __high
- && !((_M_table)[static_cast<unsigned char>(*__low)] & __m))
+ while (__low < __high && ! this->is(__m, *__low))
++__low;
return __low;
}
ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const
{
- while (__low < __high
- && ((_M_table + 1)[static_cast<unsigned char>(*__low)] & __m) != 0)
+ while (__low < __high && this->is(__m, *__low))
++__low;
return __low;
}
<p> <code> rpm -e glibc-common --nodeps </code> </p>
<p> <code> rpm -i --define "_install_langs all"
glibc-common-2.2.5-34.i386.rpm </code> </p>
- <li> install just the necessary locales
+ </li>
+ <li> install just the necessary locales
<p> <code> localedef -i de_DE -f ISO-8859-1 de_DE </code> </p>
- </p>
- </dl>
+ </li>
+ </p>
+ </dd>
+ </dt>
+ </dl>
</p>
<hr>