Re: [Fwd: Bug#538187: gzip doesn't call close() when writing to stdout]

2009-07-29 Thread Jim Meyering
Bdale Garbee wrote: > This patch proposed by a user of my Debian packaging of gzip seems like > a reasonable addition. Opinions? Good catch. However, there are many exit points, not just that one at the end of main. This patch ensures that no matter which one is taken, that close is performed an

[Fwd: Bug#538187: gzip doesn't call close() when writing to stdout]

2009-07-24 Thread Bdale Garbee
This patch proposed by a user of my Debian packaging of gzip seems like a reasonable addition. Opinions? Bdale --- Begin Message --- Package: gzip Version: 1.3.12-6 Severity: important Tags: patch When gzip is compressing / decompressing regular files, it checks the return status of close on th