bug-gawk
[Top][All Lists]
Advanced

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

Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pi


From: Andrew J. Schorr
Subject: Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe
Date: Thu, 22 Feb 2024 11:48:45 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 22, 2024 at 06:57:00AM -0700, arnold@skeeve.com wrote:
> I bit the bullet and implemented my own versions of system()
> and popen() in order to be able to reset SIGPIPE in the
> child.  I expect that this closes off the race condition(s).

Wow.

Stupid question: why didn't you index open_pipes by the write file
descriptor instead of doing linear searches?

Regards,
Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]