bug#23031: reporting write errors and handling SIGPIPE

2016-03-18 Thread Eric Blake
On 03/18/2016 11:30 AM, Assaf Gordon wrote: > I found that on my weird setup, programs start with SIGPIPE set to > SIG_IGN by default (not sure how I got myself into such situation). There have been various automated robot testsuite runners (such as Jenkins at one point in the past, although I

bug#23031: reporting write errors and handling SIGPIPE

2016-03-18 Thread Assaf Gordon
Hello, First, Attached is a patch that adds errno information to 'write error' messages, e.g.: $ grep [...] > /dev/full grep: write error: No space left on device I hope it is self-explanatory enough (comments and suggestions are welcomed). Second, On one gnu/linux server I'm