Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
python-magic
0446fadf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0446fadf.patch of Package python-magic
From 0446fadf4f7106debb78ea3f34339c5466f5236d Mon Sep 17 00:00:00 2001 From: Christos Zoulas <christos@zoulas.com> Date: Mon, 27 Jul 2015 15:41:09 +0000 Subject: [PATCH] PR/467: force binary magic for zlib --- magic/Magdir/compress | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/magic/Magdir/compress b/magic/Magdir/compress index 700d017ac..4fc53bb02 100644 --- a/magic/Magdir/compress +++ b/magic/Magdir/compress |@@ -1,5 +1,5 @@ | #------------------------------------------------------------------------------ |-# $File: compress,v 1.62 2014/09/13 14:27:12 christos Exp $ |+# $File: compress,v 1.63 2015/03/11 19:27:35 christos Exp $ | # compress: file(1) magic for pure-compression formats (no archives) | # | # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc. @@ -257,7 +257,8 @@ !:mime application/x-qpress # Zlib https://www.ietf.org/rfc/rfc6713.txt -0 beshort%31 =0 ->0 byte&0xf =8 ->>0 byte&0x80 =0 zlib compressed data +0 string/b x +>0 beshort%31 =0 +>>0 byte&0xf =8 +>>>0 byte&0x80 =0 zlib compressed data !:mime application/zlib
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor