diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-02-09 01:33:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-02-09 01:33:57 +0000 |
commit | 00458b5bee15b31f90bca83c79f29e168f04ecc8 (patch) | |
tree | 8a74a80513dfde2c71f975ff4fa024e5abe99279 /time/Makefile | |
parent | 784aacea3cdce36a6baef08cd504b89c1434fea9 (diff) | |
download | glibc-00458b5bee15b31f90bca83c79f29e168f04ecc8.tar.gz |
[BZ #3944]
2007-02-08 Jakub Jelinek <jakub@redhat.com>
[BZ #3944]
* time/strptime_l.c (__strptime_internal): Set have_mon for
%b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday
have been computed from tm_yday and tm_year. Don't crash
in day_of_the_week or day_of_the_year if not have_mon
and tm_mon contains bogus value.
* time/Makefile (tests): Add tst-strptime3.
* time/tst-strptime3.c: New test.
Diffstat (limited to 'time/Makefile')
-rw-r--r-- | time/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/time/Makefile b/time/Makefile index d93b84bb2f..8ce34e4565 100644 --- a/time/Makefile +++ b/time/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1991-2003, 2004, 2005, 2007 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 @@ -35,7 +35,8 @@ distribute := datemsk tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \ tst-getdate tst-mktime tst-mktime2 tst-ftime_l tst-strftime \ - tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 + tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 \ + tst-strptime3 include ../Rules |