locale_facets.tcc (time_get::_M_extract_num): Absolutely avoid dereferencing end...
authorPaolo Carlini <pcarlini@suse.de>
Tue, 28 Oct 2003 12:23:31 +0000 (12:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 28 Oct 2003 12:23:31 +0000 (12:23 +0000)
commitcc27f5a21c617db50383a01aa04bcf87b24a6bfa
tree034beb359a992dd2e0b2f8b6c93657ea6c0178c4
parent699a49253d97f38233c87f86030915eea94d3c49
locale_facets.tcc (time_get::_M_extract_num): Absolutely avoid dereferencing end iterators.

2003-10-28  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get::_M_extract_num):
Absolutely avoid dereferencing end iterators.
(time_get::_M_extract_name): Likewise.

* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format, case 'e'): Don't try to
be smart wrt returning the right __beg in case of parse
error, time_get::_M_extract_num must be fixed instead.

From-SVN: r73004
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc