diff options
Diffstat (limited to 'lib/libc/stdtime/strptime.c')
-rw-r--r-- | lib/libc/stdtime/strptime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index f121d68..27437fe 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -53,7 +53,7 @@ #ifdef LIBC_RCS static const char rcsid[] = - "$Id: strptime.c,v 1.4 1998/09/12 21:13:29 dt Exp $"; + "$Id: strptime.c,v 1.5 1999/04/25 01:42:18 wes Exp $"; #endif #ifndef lint @@ -333,7 +333,7 @@ strptime(const char *buf, const char *fmt, struct tm *tm) } if (c == 'Y') i -= 1900; - if (c == 'y' && i < 70) + if (c == 'y' && i < 69) i += 100; if (i < 0) return 0; |