1 2#------------------------------------------------------------------------------ 3# timezone: file(1) magic for timezone data 4# 5# from Daniel Quinlan (quinlan@yggdrasil.com) 6# this should work on Linux, SunOS, and maybe others 7# Added new official magic number for recent versions of the Olson code 80 string TZif timezone data 9>4 byte 0 \b, old version 10>4 byte >0 \b, version %c 11>20 belong 0 \b, no gmt time flags 12>20 belong 1 \b, 1 gmt time flag 13>20 belong >1 \b, %d gmt time flags 14>24 belong 0 \b, no std time flags 15>20 belong 1 \b, 1 std time flag 16>24 belong >1 \b, %d std time flags 17>28 belong 0 \b, no leap seconds 18>28 belong 1 \b, 1 leap second 19>28 belong >1 \b, %d leap seconds 20>32 belong 0 \b, no transition times 21>32 belong 1 \b, 1 transition time 22>32 belong >1 \b, %d transition times 23>36 belong 0 \b, no abbreviation chars 24>36 belong 1 \b, 1 abbreviation char 25>36 belong >1 \b, %d abbreviation chars 260 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 270 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 280 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 290 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 300 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 310 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 32