about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-09 22:37:19 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-09 22:37:19 +0000
commit30d13751354ba7eeabbce754b06650b99884c3c3 (patch)
tree8d7a4dfa2a0a2073470833c5b1bdfd012f66fca8 /time
parent5d9f13dc9b97a22c614ad5ad7b1a22eacc626acd (diff)
downloadglibc-30d13751354ba7eeabbce754b06650b99884c3c3.tar.gz
glibc-30d13751354ba7eeabbce754b06650b99884c3c3.tar.xz
glibc-30d13751354ba7eeabbce754b06650b99884c3c3.zip
Update.
2001-08-09  Jakub Jelinek  <jakub@redhat.com>

	* catgets/catgets.c (catclose): Be liberal about catalog_desc in
	catclose too.

	* time/tst-strptime.c: Add test case for %U and %W handling.
Diffstat (limited to 'time')
-rw-r--r--time/tst-strptime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/time/tst-strptime.c b/time/tst-strptime.c
index 96bda389d8..d866923903 100644
--- a/time/tst-strptime.c
+++ b/time/tst-strptime.c
@@ -1,5 +1,5 @@
 /* Test for strptime.
-   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -35,6 +35,8 @@ static const struct
   { "03/03/00", "%D", 5, 62 },
   { "9/9/99", "%x", 4, 251 },
   { "19990502123412", "%Y%m%d%H%M%S", 0, 121 },
+  { "2001 20 Mon", "%Y %U %a", 1, 140 },
+  { "2001 21 Mon", "%Y %W %a", 1, 140 },
 };