From ffbc3cbef4946f3352337ccc2968c945a3d0cf40 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Thu, 20 Nov 1997 17:34:40 -0500 Subject: [PATCH] magic number SCCS-file: tzfile.h SCCS-SID: 7.12 --- tzfile.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tzfile.h b/tzfile.h index bbab608..d86b658 100644 --- a/tzfile.h +++ b/tzfile.h @@ -45,8 +45,11 @@ static char tzfilehid[] = "%W%"; ** Each file begins with. . . */ +#define TZ_MAGIC "TZif" + struct tzhead { - char tzh_reserved[16]; /* reserved for future use */ + char tzh_magic[4]; /* TZ_MAGIC */ + char tzh_reserved[12]; /* reserved for future use */ char tzh_stampcnt[4]; /* number of stamp bytes */ char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */ char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */