OSDN Git Service

2003-10-09 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Oct 2003 19:10:56 +0000 (19:10 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Oct 2003 19:10:56 +0000 (19:10 +0000)
commit21db838694b81031fa88273ced5bdfcf68aa206a
tree6fc8259baed5ace8e6cc49ec4a57d83ceb21a2cb
parent6c2c919aac9573c9d103cc43dd53455a9f8c4a25
2003-10-09  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11844
* config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
to conform to the requirements of 22.2.1.
* config/os/bsd/freebsd/ctype_base.h: Likewise.
* config/os/djgpp/ctype_base.h: Likewise.
* config/os/generic/ctype_base.h: Likewise.
* config/os/gnu-linux/ctype_base.h: Likewise.
* config/os/hpux/ctype_base.h: Likewise.
* config/os/irix/irix6.5/ctype_base.h: Likewise.
* config/os/solaris/solaris2.6/ctype_base.h: Likewise.
* config/os/solaris/solaris2.7/ctype_base.h: Likewise.
* testsuite/22_locale/ctype/11844.cc: New.

* config/locale/generic/ctype_members.cc (do_is):
Generically, use a bitmasksize of 15 (instead of 10), since
we don't know the numerical encoding of the various categories
in the underlying /usr/include/ctype.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72281 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/ctype_members.cc
libstdc++-v3/config/os/aix/ctype_base.h
libstdc++-v3/config/os/bsd/freebsd/ctype_base.h
libstdc++-v3/config/os/djgpp/ctype_base.h
libstdc++-v3/config/os/generic/ctype_base.h
libstdc++-v3/config/os/gnu-linux/ctype_base.h
libstdc++-v3/config/os/hpux/ctype_base.h
libstdc++-v3/config/os/irix/irix6.5/ctype_base.h
libstdc++-v3/config/os/solaris/solaris2.6/ctype_base.h
libstdc++-v3/config/os/solaris/solaris2.7/ctype_base.h
libstdc++-v3/testsuite/22_locale/ctype/11844.cc [new file with mode: 0644]