From: Michael Tremer Date: Thu, 18 Mar 2021 19:09:30 +0000 (+0000) Subject: compress: Return ENOTSUP when we could not find a matching decompressor X-Git-Tag: 0.9.28~1285^2~513 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=494920771a1271eecbcc076ee0941c3993783a3c;p=pakfire.git compress: Return ENOTSUP when we could not find a matching decompressor Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/compress.c b/src/libpakfire/compress.c index 74222001d..220bf5150 100644 --- a/src/libpakfire/compress.c +++ b/src/libpakfire/compress.c @@ -101,6 +101,7 @@ FILE* pakfire_xfopen(FILE* f, const char* mode) { } // Nothing seems to match + errno = ENOTSUP; return f; }