[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH v2 04/13] libdpkg: fix redundant compression error messages


On Sat, 2009-10-24 at 17:41:48 -0500, Jonathan Nieder wrote:
> Avoid ohshite() except where errno is useful.  This should avoid
> confusing error messages like
> 	data: internal gzip error: read: stream error: Success
> While we're at it, drop the number of bytes read and written from
> the read() != write() error message and output the error message
> from the compression library instead.
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>

Applied this one, but w/o the refactoring of the error strings, the
“read” and “write” I left in place. Those strings for sure need to be
improved but I'll leave this for later.


Reply to: