aboutsummaryrefslogtreecommitdiff
path: root/time/bug-getdate1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-12-12 18:23:00 +0000
committerUlrich Drepper <drepper@redhat.com>2007-12-12 18:23:00 +0000
commitf63e5063410e030f856956f12b3472499c3129e2 (patch)
treecfb0fde714c22c8d646a4dbe2beaebafd1f3611e /time/bug-getdate1.c
parenta78814a99acf70c9ccc967417a082cc8117586b4 (diff)
downloadglibc-f63e5063410e030f856956f12b3472499c3129e2.tar
glibc-f63e5063410e030f856956f12b3472499c3129e2.tar.gz
glibc-f63e5063410e030f856956f12b3472499c3129e2.tar.bz2
glibc-f63e5063410e030f856956f12b3472499c3129e2.zip
* time/bug-getdate1.c (do_test): Don't use century values which
aren't valid on 32-bit systems.
Diffstat (limited to 'time/bug-getdate1.c')
-rw-r--r--time/bug-getdate1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/time/bug-getdate1.c b/time/bug-getdate1.c
index 7da88f4548..3d68cf2a79 100644
--- a/time/bug-getdate1.c
+++ b/time/bug-getdate1.c
@@ -115,13 +115,13 @@ do_test (int argc, char *argv[])
res |= process_getdate_on ("25 3");
output_to_template_file ("%C");
- res |= process_getdate_on ("98");
+ res |= process_getdate_on ("20");
output_to_template_file ("%C %y %m");
- res |= process_getdate_on ("98 3 2");
+ res |= process_getdate_on ("20 3 2");
output_to_template_file ("%C %y");
- res |= process_getdate_on ("21 5");
+ res |= process_getdate_on ("20 5");
/*
* The following testcase reproduces the problem: