From 2911006dcd808278e26b990dd26b268183fc27b4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 19 Jul 2015 06:05:16 +0000 Subject: Do not fork and exec gunzip(1), just link with libz instead. As discussed with deraadt@, that's cleaner and will help tame(2). Something like this was also suggested earlier by bapt at FreeBSD. Minus 50 lines of code, deleting one interface function (mparse_wait), no functional change intended. --- main.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 1ec130e9..a6587683 100644 --- a/main.c +++ b/main.c @@ -458,10 +458,6 @@ main(int argc, char *argv[]) passthrough(resp->file, fd, conf.output.synopsisonly); - rctmp = mparse_wait(curp.mp); - if (rc < rctmp) - rc = rctmp; - if (argc > 1 && curp.outtype <= OUTT_UTF8) ascii_sepline(curp.outdata); } -- cgit