[hackers] [sbase] tar: force decompression || Elie Le Vaillant

From: <git_AT_suckless.org>
Date: Tue, 17 Dec 2024 11:29:24 +0100 (CET)

commit cafdc7c6561f546578e5d7c842149fa242937a42
Author: Elie Le Vaillant <eolien55_AT_disroot.org>
AuthorDate: Fri Dec 6 10:37:41 2024 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Dec 17 11:27:35 2024 +0100

    tar: force decompression
    
    decomp() needs the force flag -f too.

diff --git a/tar.c b/tar.c
index dd4fc19..e4701dc 100644
--- a/tar.c
+++ b/tar.c
_AT_@ -614,7 +614,7 @@ main(int argc, char *argv[])
 
                 if (filtertool) {
                         fd = tarfd;
- tarfd = decomp(tarfd, filtertool, "-cd");
+ tarfd = decomp(tarfd, filtertool, "-cdf");
                         close(fd);
                 }
 
Received on Tue Dec 17 2024 - 11:29:24 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 17 2024 - 11:36:41 CET