On 04/19/2016 01:34 PM, Jim Meyering wrote:
you really should not rely on gzip's -l option
These users are probably dealing with small (< 4 GiB) files for which -l should work fine. And three bug reports in one day, ouch. It may be a good idea to generate a new gzip version sooner rather than later.
Sorry about the bug, by the way. I got confused because gzip.c calls close_stdin but not close_stdout, so I wasn't worried about 'exit' closing stdout again. I had forgotten that close_stdin calls close_stdout (!).