bug#74788: Incorrect return value for SIGPIPE case

2024-12-11 Thread Sachin T
Hi Grep Team, I am running version 3.11 of grep on the IBM z/OS platform. I am testing a scenario where grep's output is redirected to a closed pipe. This was expected to raise a SIGPIPE signal and return an exit status of 141. Upon inspecting the code, I noticed that the signal is raised by fcl

bug#74788: Incorrect return value for SIGPIPE case

2024-12-12 Thread Sachin T
fix upstream. Best regards, Sachin On Wed, Dec 11, 2024 at 11:24 PM Paul Eggert wrote: > On 2024-12-11 04:59, Sachin T wrote: > > Could you suggest the preferred solution for handling this situation on > the > > z/OS platform? > > Since this problem afflicts many app