aboutsummaryrefslogtreecommitdiff
path: root/timezone
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-10 11:58:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-10 11:58:53 +0000
commit90865aa8d319b1bd736690717c6fcc23b7a29e98 (patch)
treedb9e3601dddee40e5c49d7569721334ecf51b451 /timezone
parentadac8450947aa7963df1ff143fa64e6579a0f620 (diff)
downloadglibc-90865aa8d319b1bd736690717c6fcc23b7a29e98.tar
glibc-90865aa8d319b1bd736690717c6fcc23b7a29e98.tar.gz
glibc-90865aa8d319b1bd736690717c6fcc23b7a29e98.tar.bz2
glibc-90865aa8d319b1bd736690717c6fcc23b7a29e98.zip
Update.
1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com> * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files for test. * timezone/tst-timezone.c (tests): Fix typo in last patch. * time/tzfile.c (__tzfile_read): Handle case when there are no transitions. Set __timezone based on computed offset. * time/tzset.c (tzset_internal): Set __timezone before returning. * time/tzset.c (tzset_internal): Optimize handling of local string copy. 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR libc/776). * sysdeps/powerpc/bits/fenv.h: Add parens.
Diffstat (limited to 'timezone')
-rw-r--r--timezone/Makefile4
-rw-r--r--timezone/tst-timezone.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 23d50b1730..c0a9bc166e 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -178,7 +178,7 @@ $(objpfx)test-tz.out: $(addprefix $(testdata)/, America/New_York Etc/UTC UTC)
$(objpfx)tst-timezone.out: $(addprefix $(testdata)/, \
Europe/Berlin Universal \
Australia/Melbourne \
- America/Sao_Paulo)
+ America/Sao_Paulo Asia/Tokyo)
test-tz-ENV = TZDIR=$(testdata)
tst-timezone-ENV = TZDIR=$(testdata)
@@ -202,6 +202,8 @@ $(testdata)/Australia/Melbourne: australasia $(objpfx)zic $(leapseconds) \
$(testdata)/America/Sao_Paulo: southamerica $(objpfx)zic $(leapseconds) \
yearistype
$(build-testdata)
+$(testdata)/Asia/Tokyo: asia $(objpfx)zic $(leapseconds) yearistype
+ $(build-testdata)
$(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
diff --git a/timezone/tst-timezone.c b/timezone/tst-timezone.c
index d05632d272..3585a9c60b 100644
--- a/timezone/tst-timezone.c
+++ b/timezone/tst-timezone.c
@@ -40,6 +40,7 @@ static const struct test_times tests[] =
{ "Australia/Melbourne", 1, -36000, { "EST", "EST" }},
{ "America/Sao_Paulo", 1, 10800, {"EST", "EDT" }},
{ "America/Los_Angeles", 1, 28800, {"PST", "PDT" }},
+ { "Asia/Tokyo", 0, -32400, {"JST", "JST" }},
{ NULL, 0, 0 }
};