"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/timezone" (17 Mar 2017, 1490 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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