summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2017-01-18 16:16:21 +0000
committerChristos Zoulas <christos@zoulas.com>2017-01-18 16:16:21 +0000
commit4600a7e37b2e7dd3e5d7bf3e267b4e9d041b7752 (patch)
treed0f49ca96c654cbf8623fbd140ab96c19b427743
parentf34508a3a6aaba2c4acf31e5590245624a8beb4a (diff)
downloadfile-git-4600a7e37b2e7dd3e5d7bf3e267b4e9d041b7752.tar.gz
PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long.
-rw-r--r--magic/Magdir/pbf8
1 files changed, 4 insertions, 4 deletions
diff --git a/magic/Magdir/pbf b/magic/Magdir/pbf
index d133d12b..8de6db02 100644
--- a/magic/Magdir/pbf
+++ b/magic/Magdir/pbf
@@ -1,11 +1,11 @@
#------------------------------------------------------------------------------
-# $File: pbf,v 1.1 2013/12/21 14:27:24 christos Exp $
+# $File: pbf,v 1.2 2017/01/18 16:16:21 christos Exp $
# file(1) magic(5) data for OpenStreetMap
# OpenStreetMap Protocolbuffer Binary Format (.osm.pbf)
# http://wiki.openstreetmap.org/wiki/PBF_Format
# From: Markus Heidelberg <markus.heidelberg@web.de>
-0 belong 0x0000000D
->4 beshort 0x0A09
->>6 string OSMHeader OpenStreetMap Protocolbuffer Binary Format
+0 belong&0xfffffff0 0
+>4 beshort 0x0A09
+>>6 string OSMHeader OpenStreetMap Protocolbuffer Binary Format