diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-06-27 17:27:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-06-27 17:27:39 +0000 |
commit | 80922a99e39ecf1fd229bd58c3a3ccbbd2841d0f (patch) | |
tree | 8814129c76f1b5179decbcd2ca04d87d93d747d1 /time | |
parent | 34ca2ff7da8f3701fc476fd84984677262390c09 (diff) | |
download | glibc-80922a99e39ecf1fd229bd58c3a3ccbbd2841d0f.tar glibc-80922a99e39ecf1fd229bd58c3a3ccbbd2841d0f.tar.gz glibc-80922a99e39ecf1fd229bd58c3a3ccbbd2841d0f.tar.bz2 glibc-80922a99e39ecf1fd229bd58c3a3ccbbd2841d0f.zip |
[BZ #6657]
2008-06-27 Ulrich Drepper <drepper@redhat.com>
[BZ #6657]
* time/strptime_l.c: Don't clear s.era_cnt after successful match
of %EY.
Patch by Petr Baudis.
Diffstat (limited to 'time')
-rw-r--r-- | time/strptime_l.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/time/strptime_l.c b/time/strptime_l.c index 59a557c22b..d5356d3b6a 100644 --- a/time/strptime_l.c +++ b/time/strptime_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2004, 2005, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -951,7 +951,6 @@ __strptime_internal (rp, fmt, tmp, statep LOCALE_PARAM) else { s.decided = loc; - s.era_cnt = -1; break; } |