Ah, OK, if I'm understanding you correctly, the problem is merely the wording of the diagnostics. Sometimes gzip is saying "trailing garbage ignored", sometimes "unexpected EOF". This has to do with, internally, how it looks for the gzip header; the exact spelling of the diagnostic isn't that significant. Since one can concatenate gzip files, the distinction between trailing garbage and unexpected EOF isn't always clear, anyway.
- gzip test file+1byte gives unexpected end of file Rob J. Epping
- Re: gzip test file+1byte gives unexpected end of file Paul Eggert
- Re: gzip test file+1byte gives unexpected end of fi... Rob J. Epping
- Re: gzip test file+1byte gives unexpected end of fi... Rob J. Epping
- Re: gzip test file+1byte gives unexpected end of fi... Paul Eggert
- Re: gzip test file+1byte gives unexpected end o... Rob J. Epping
- Re: gzip test file+1byte gives unexpected e... Paul Eggert