diff options
author | 2015-10-05 23:21:52 +0000 | |
---|---|---|
committer | 2015-10-05 23:21:52 +0000 | |
commit | 19b95f905bed28d19e0aa6d0cfcb4a3a39210262 (patch) | |
tree | d72e32fe2f27585417c837de8a2d9e5627c4ded6 | |
parent | Set the line file descriptor nonblocking and make it blocking again for (diff) | |
download | wireguard-openbsd-19b95f905bed28d19e0aa6d0cfcb4a3a39210262.tar.xz wireguard-openbsd-19b95f905bed28d19e0aa6d0cfcb4a3a39210262.zip |
Another trivial update, some extra bits for timezone, from file 5.x.
-rw-r--r-- | usr.bin/file/magdir/timezone | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/timezone b/usr.bin/file/magdir/timezone index 297fbfd1c86..24a8b2d36a8 100644 --- a/usr.bin/file/magdir/timezone +++ b/usr.bin/file/magdir/timezone @@ -1,4 +1,4 @@ -# $OpenBSD: timezone,v 1.4 2004/06/03 03:14:20 tedu Exp $ +# $OpenBSD: timezone,v 1.5 2015/10/05 23:21:52 nicm Exp $ #------------------------------------------------------------------------------ # timezone: file(1) magic for timezone data @@ -7,6 +7,23 @@ # this should work on Linux, SunOS, and maybe others # Added new official magic number for recent versions of the Olson code 0 string TZif timezone data +>4 byte 0 \b, old version +>4 byte >0 \b, version %c +>20 belong 0 \b, no gmt time flags +>20 belong 1 \b, 1 gmt time flag +>20 belong >1 \b, %d gmt time flags +>24 belong 0 \b, no std time flags +>20 belong 1 \b, 1 std time flag +>24 belong >1 \b, %d std time flags +>28 belong 0 \b, no leap seconds +>28 belong 1 \b, 1 leap second +>28 belong >1 \b, %d leap seconds +>32 belong 0 \b, no transition times +>32 belong 1 \b, 1 transition time +>32 belong >1 \b, %d transition times +>36 belong 0 \b, no abbreviation chars +>36 belong 1 \b, 1 abbreviation char +>36 belong >1 \b, %d abbreviation chars 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 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 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 |