bug#23267: suggestion: silently ignore EPIPE errors when SIGPIPE is set to 'ignore'

2020-09-22 Thread Paul Eggert
I'm cleaning up old grep bug reports and am closing this one as wontfix.

bug#23267: suggestion: silently ignore EPIPE errors when SIGPIPE is set to 'ignore'

2016-04-23 Thread Fredrik Fornwall
Even when SIGPIPE has the default behaviour, it seems that there is a timing issue if grep has the time to treat EPIPE as an error before the process being killed due to the delivery of the signal. This seems to happen easily when running on Android (perhaps due to slower signal delivery, or relat

bug#23267: suggestion: silently ignore EPIPE errors when SIGPIPE is set to 'ignore'

2016-04-11 Thread Paul Eggert
Assaf Gordon wrote: With the above change, if SIGPIPE is set to 'ignore' (e.g. by the shell or python), then grep would exit with "write error: Broken Pipe". Based on recent suggestion from Pádraig Brady I don't see why this is would be a good idea. grep should report write errors. A caller t

bug#23267: suggestion: silently ignore EPIPE errors when SIGPIPE is set to 'ignore'

2016-04-10 Thread Assaf Gordon
Hello, This is a small addition to a recent change: 1cec27a7f0e5c7bdc44a88ef51af09f87a8cbc24 grep: use errno consistently in write diagnostics With the above change, if SIGPIPE is set to 'ignore' (e.g. by the shell or python), then grep would exit with "write error: Broken Pipe". Based on