Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann
rpm
zstddetection.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zstddetection.diff of Package rpm
--- ./rpmio/rpmfileutil.c.orig 2021-10-06 15:35:27.339626577 +0000 +++ ./rpmio/rpmfileutil.c 2021-10-06 15:35:56.023560332 +0000 @@ -351,7 +351,7 @@ int rpmFileIsCompressed(const char * fil (magic[4] == 0x5a) && (magic[5] == 0x00)) { /* new style xz (lzma) with magic */ *compressed = COMPRESSED_XZ; - } else if ((magic[0] == 0x28) && (magic[1] == 0x85) && + } else if ((magic[0] == 0x28) && (magic[1] == 0xB5) && (magic[2] == 0x2f) ) { *compressed = COMPRESSED_ZSTD; } else if ((magic[0] == 'L') && (magic[1] == 'Z') &&
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