locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number' 10...
authorPaolo Carlini <pcarlini@suse.de>
Mon, 14 Jun 2004 10:49:36 +0000 (10:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 14 Jun 2004 10:49:36 +0000 (10:49 +0000)
commitce2a46a203b146e4cf3ebc23ea5de2dba3b4917f
tree5d8566d75eac68ad234ef33b527b79800c71a59a
parent93ae5495f56f08b888269b8fcf175cc7df8f1322
locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number' 10 in the computation of __minlen...

2004-06-14  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Don't use the 'magic number' 10 in the computation of __minlen;
never access __name past __minlen; in the loop over __i3, don't
decrease __nmatches and increase __i3 at once, only either of
the two; tidy.

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