From 94a5055f41edd9226c4342d396fa093306ea567f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 26 Jul 2017 03:32:08 +0200 Subject: Add osUnix --- zsig/zsig.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zsig/zsig.go') diff --git a/zsig/zsig.go b/zsig/zsig.go index c375362..5dd4aab 100644 --- a/zsig/zsig.go +++ b/zsig/zsig.go @@ -15,6 +15,7 @@ const ( gzipID1 = 0x1f gzipID2 = 0x8b gzipDeflate = 8 + osUnix = 3 flagText = 1 << 0 flagHdrCrc = 1 << 1 flagExtra = 1 << 2 @@ -22,7 +23,7 @@ const ( flagComment = 1 << 4 ) -var fake = []byte{gzipID1, gzipID2, gzipDeflate, flagComment, 0, 0, 0, 0, 0, 3} +var fake = []byte{gzipID1, gzipID2, gzipDeflate, flagComment, 0, 0, 0, 0, 0, osUnix} type Reader struct { Comment string -- cgit v1.2.3