diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-09-15 22:50:11 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-09-15 22:50:11 +0000 |
commit | 04807c286441c25e0997b453f308ffee25e3524e (patch) | |
tree | a894220fc3cccbb8e9ce51dc41924ee1bb8b5472 /gcc/cpplex.c | |
parent | 4c4b521a59ec0cafbd1b5be5b13c4ecd5d88a79b (diff) | |
download | gcc-04807c286441c25e0997b453f308ffee25e3524e.zip gcc-04807c286441c25e0997b453f308ffee25e3524e.tar.gz gcc-04807c286441c25e0997b453f308ffee25e3524e.tar.bz2 |
locale.cc (locale::locale(const char* __name)): Consolidate name setting.
2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/locale.cc (locale::locale(const char* __name)): Consolidate
name setting. Add checks for NULL __name pointers. Remove calls to
_S_initialize() as initial locale initialization can either be
assumed, or needs to be made consistent throughout locale
construtors.
(locale::locale(const locale& __other, const char* __name,
category __cat): Add checks for NULL name. Add checks for
assignment to self.
* src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
const string& __name, category __cat, size_t __refs)): Set correct
name, has_name values.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
* docs/22_locale/locale.html: New file, more unfinished docs...
From-SVN: r36450
Diffstat (limited to 'gcc/cpplex.c')
0 files changed, 0 insertions, 0 deletions