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
constructors.
(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: r36451
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| backward | Loading commit data... | |
| bits | Loading commit data... | |
| config | Loading commit data... | |
| docs | Loading commit data... | |
| ext | Loading commit data... | |
| libio | Loading commit data... | |
| math | Loading commit data... | |
| shadow | Loading commit data... | |
| src | Loading commit data... | |
| std | Loading commit data... | |
| testsuite | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| README | Loading commit data... | |
| acconfig.h | Loading commit data... | |
| acinclude.m4 | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.host | Loading commit data... | |
| configure.in | Loading commit data... | |
| mkc++config | Loading commit data... | |
| mkcheck.in | Loading commit data... | |
| mkcshadow | Loading commit data... | |
| mkinclosure | Loading commit data... | |
| mknumeric_limits | Loading commit data... |