This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: HP-UX ctype<char>::classic_table return value

Loren noticed that we didn't return __SB_masks in ctype<char>::classic_table.
This caused a variety of test failures in the v3 testsuite on the trunk.
On earlier releases, the tests are xfailed and the problem hidden.

Tested on hppa64-hp-hpux11* and hppa2.0w-hp-hpux11*.

Installed on 3.3 and trunk.  Will install on 3.2 if testing completes

J. David Anglin                                  dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2003-03-22  Loren J. Rittle  <ljrittle at acm dot org>

	* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
	Correct return value.

Index: config/os/hpux/ctype_noninline.h
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/hpux/ctype_noninline.h,v
retrieving revision 1.1
diff -u -3 -p -r1.1 ctype_noninline.h
--- config/os/hpux/ctype_noninline.h	24 Jun 2002 05:49:28 -0000	1.1
+++ config/os/hpux/ctype_noninline.h	22 Mar 2003 18:20:08 -0000
@@ -36,7 +36,7 @@
   const ctype_base::mask*
   ctype<char>::classic_table() throw()
-  { return 0; }
+  { return __SB_masks; }
   ctype<char>::ctype(__c_locale, const mask* __table, bool __del, 
 		     size_t __refs) 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]