diff options
author | Jim Meyering <meyering@fb.com> | 2023-04-07 06:58:36 -0700 |
---|---|---|
committer | Jim Meyering <meyering@meta.com> | 2023-04-07 07:57:11 -0700 |
commit | 156d0e1d08d409225d626e3a0bdade45a57cb696 (patch) | |
tree | a1660cba528b630529986307f3f8e9c0549a1b69 /README | |
parent | 54042d42c50e96e4ab9f29d043df9096a469a1f0 (diff) | |
download | gzip-156d0e1d08d409225d626e3a0bdade45a57cb696.tar.gz |
gzip: improve a write-failure diagnostic
* gzip.c (create_outfile): Call write_error, not progerror,
so failure to open for writing gives a better diagnostic:
gzip: failed to write d/f.gz: Permission denied
rather than this:
gzip: d/f.gz: Permission denied
* tests/write-error: New file, to test for this.
* tests/Makefile.am (TESTS): Add the file name.
Reported in https://bugs.gnu.org/16876.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions