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 |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| bitset.cc | Loading commit data... | |
| cmath.cc | Loading commit data... | |
| codecvt.cc | Loading commit data... | |
| complex.cc | Loading commit data... | |
| complex_io.cc | Loading commit data... | |
| complexf.cc | Loading commit data... | |
| complexl.cc | Loading commit data... | |
| gen-num-limits.cc | Loading commit data... | |
| ios.cc | Loading commit data... | |
| limits_generic.cc | Loading commit data... | |
| locale-inst.cc | Loading commit data... | |
| locale.cc | Loading commit data... | |
| localename.cc | Loading commit data... | |
| misc-inst.cc | Loading commit data... | |
| stdexcept.cc | Loading commit data... | |
| stdstreams.cc | Loading commit data... | |
| stl-inst.cc | Loading commit data... | |
| string-inst.cc | Loading commit data... | |
| strstream.cc | Loading commit data... | |
| valarray-inst.cc | Loading commit data... |