tar: force decompression - sbase - suckless unix tools
(HTM) git clone git://git.suckless.org/sbase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cafdc7c6561f546578e5d7c842149fa242937a42
(DIR) parent 782afdf8c6202298a35f37bbe6eaedc5f63a7776
(HTM) Author: Elie Le Vaillant <eolien55@disroot.org>
Date: Fri, 6 Dec 2024 10:37:41 +0100
tar: force decompression
decomp() needs the force flag -f too.
Diffstat:
M tar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/tar.c b/tar.c
@@ -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);
}