diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-15 21:31:56 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-15 21:31:56 +0000 |
commit | c4f51a023e85088c707d57342fa4a08ebfbc5f9e (patch) | |
tree | 634b1184987bcda149b32781878d2c1928c0f154 /libstdc++-v3 | |
parent | 5fae184f3b56c40595fd0557c70f470c7b062bed (diff) | |
download | ppe42-gcc-c4f51a023e85088c707d57342fa4a08ebfbc5f9e.tar.gz ppe42-gcc-c4f51a023e85088c707d57342fa4a08ebfbc5f9e.zip |
* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
of character to attribute mapping table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48880 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/config/os/hpux/bits/ctype_noninline.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7c3e91e6a8a..47650e3d614 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address + of character to attribute mapping table. + 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com> * testsuite/26_numerics/c99_classification_macros_c.cc diff --git a/libstdc++-v3/config/os/hpux/bits/ctype_noninline.h b/libstdc++-v3/config/os/hpux/bits/ctype_noninline.h index 7dbaced5a1d..96a6da9257a 100644 --- a/libstdc++-v3/config/os/hpux/bits/ctype_noninline.h +++ b/libstdc++-v3/config/os/hpux/bits/ctype_noninline.h @@ -1,6 +1,6 @@ // Locale support -*- C++ -*- -// Copyright (C) 1997-2001 Free Software Foundation, Inc. +// Copyright (C) 1997-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 @@ -37,13 +37,13 @@ size_t __refs) : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), _M_toupper(NULL), _M_tolower(NULL), _M_ctable(NULL), - _M_table(__table == 0 ? _M_ctable: __table) + _M_table(__table == 0 ? (const mask *) __SB_masks : __table) { } ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), _M_toupper(NULL), _M_tolower(NULL), _M_ctable(NULL), - _M_table(__table == 0 ? _M_ctable: __table) + _M_table(__table == 0 ? (const mask *) __SB_masks : __table) { } char |