diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- add support for synthesis compressed with zstd + Version 5.22 - 21 September 2018 - fix CPAN indexation @@ -999,6 +999,8 @@ open_archive(char *filename, int *empty_archive) { rfd = Fdopen(rfd, "r.bzip2"); else if (strcmp(buf.uncompress, "xz") || strcmp(buf.uncompress, "lzma")) rfd = Fdopen(rfd, "r.xz"); + else if (strcmp(buf.uncompress, "zstd")) + rfd = Fdopen(rfd, "r.zstd"); else { free(rfd); rfd = NULL; @@ -2896,6 +2898,8 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) case COMPRESSED_LZMA: case COMPRESSED_XZ: t = "r.xz"; break; + case COMPRESSED_ZSTD: + t = "r.zstd"; break; case COMPRESSED_OTHER: default: t = "r.gzip"; break; |