aboutsummaryrefslogtreecommitdiff
path: root/time/tzfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzfile.c')
-rw-r--r--time/tzfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index a7753d2..7c72aad 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -343,6 +343,9 @@ __tzfile_default (const char *std, const char *dst,
}
__mempcpy (__mempcpy (zone_names, std, stdlen), dst, dstlen);
+ /* Now there are only two zones, regardless of what the file contained. */
+ num_types = 2;
+
/* Now correct the transition times for the user-specified standard and
daylight offsets from GMT. */
isdst = 0;