From b9d5ed10b52f42fff3c8166de907773bd7c17fcb Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Fri, 4 May 2018 10:12:38 +0300 Subject: [PATCH] Update for newer version of brotli The binary name has been changed from bro to brotli. Also several arguments have changed. --- src/untgz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/untgz.c b/src/untgz.c index 3a6f25b..6b43734 100644 --- a/src/untgz.c +++ b/src/untgz.c @@ -312,7 +312,7 @@ struct untgz_state* untgz_open(const gchar* tgzfile, struct error* e) else if (comptype == COMPTYPE_BRO) { gchar* escaped = g_shell_quote(tgzfile); - gchar* cmd = g_strdup_printf("bro --decompress --input %s", escaped); + gchar* cmd = g_strdup_printf("brotli -c --decompress %s", escaped); fp = popen(cmd, "r"); g_free(escaped); if (fp == NULL)