1ef01931fSBen Gras 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*835f6802SDirk Vogt# $File: timezone,v 1.11 2009/09/19 16:28:12 christos Exp $ 4ef01931fSBen Gras# timezone: file(1) magic for timezone data 5ef01931fSBen Gras# 6ef01931fSBen Gras# from Daniel Quinlan (quinlan@yggdrasil.com) 7ef01931fSBen Gras# this should work on Linux, SunOS, and maybe others 8ef01931fSBen Gras# Added new official magic number for recent versions of the Olson code 9ef01931fSBen Gras0 string TZif timezone data 10ef01931fSBen Gras>4 byte 0 \b, old version 11ef01931fSBen Gras>4 byte >0 \b, version %c 12ef01931fSBen Gras>20 belong 0 \b, no gmt time flags 13ef01931fSBen Gras>20 belong 1 \b, 1 gmt time flag 14ef01931fSBen Gras>20 belong >1 \b, %d gmt time flags 15ef01931fSBen Gras>24 belong 0 \b, no std time flags 16ef01931fSBen Gras>20 belong 1 \b, 1 std time flag 17ef01931fSBen Gras>24 belong >1 \b, %d std time flags 18ef01931fSBen Gras>28 belong 0 \b, no leap seconds 19ef01931fSBen Gras>28 belong 1 \b, 1 leap second 20ef01931fSBen Gras>28 belong >1 \b, %d leap seconds 21ef01931fSBen Gras>32 belong 0 \b, no transition times 22ef01931fSBen Gras>32 belong 1 \b, 1 transition time 23ef01931fSBen Gras>32 belong >1 \b, %d transition times 24ef01931fSBen Gras>36 belong 0 \b, no abbreviation chars 25ef01931fSBen Gras>36 belong 1 \b, 1 abbreviation char 26ef01931fSBen Gras>36 belong >1 \b, %d abbreviation chars 27ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0 old timezone data 28ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0 old timezone data 29ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0 old timezone data 30ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0 old timezone data 31ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0 old timezone data 32ef01931fSBen Gras0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0 old timezone data 33