bug#45148: Piping into gzip --list -

2020-12-09 Thread Stefano Marsili
Hi, I wanted to help the Debian project and found the gzip bug report   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575884 Despite not being a C programmer I decided to give it a try. Since this is the first time I have a patch for an open source project, I thought that maybe I should firs

bug#45148: Piping into gzip --list - new version

2020-12-09 Thread Stefano Marsili
After posting the patch I noticed some statements are superfluous. The modified patch is attached. diff --git a/gzip.c b/gzip.c index cceb420..43cb9ea 100644 --- a/gzip.c +++ b/gzip.c @@ -1514,6 +1514,7 @@ local void do_list(ifd, method) int ifd; /* input file descriptor */ int