aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsig/zsig.go3
1 files changed, 2 insertions, 1 deletions
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