ctype_noninline.h: Use __SB_masks for address of character to attribute mapping table.

* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
	of character to attribute mapping table.

From-SVN: r48880
This commit is contained in:
John David Anglin 2002-01-15 21:31:56 +00:00 committed by John David Anglin
parent 7ec9c85a1e
commit 93e9a99247
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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