<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 8:27 AM, Michael Wojcik <span dir="ltr"><<a href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=Michael.Wojcik@microfocus.com" target="_blank">Michael.Wojcik@microfocus.com</a>></span> wrote:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_663043560423031921WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It may be worth noting that nearly all well-written UNIX applications should set the disposition of SIGPIPE to SIG_IGN. </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">SIGPIPE is a hack. It exists only to terminate poorly-written programs that could otherwise block a pipeline. See Bach,
<i>The Design of the UNIX Operating System</i>; if memory serves, Bach quotes Dennis Ritchie on this point. SIGPIPE was introduced because some poorly-written programs did not check the return code from write.[1]<u></u><u></u></span></p></div></div></blockquote><div>... </div><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"> </span></div>This is excellent advice. In principle, I am in complete agreement. We should not write code that depends on this artifact. We should treat it as deprecated. <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">However ... ;-)  </div><div class="gmail_quote"><br></div><div class="gmail_quote">It's probably also true that there is a lot of code that depends on it. True to form for "deprecated"</div><div class="gmail_quote"><br></div><div class="gmail_quote">- M</div><div class="gmail_quote"><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">"Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred."<div><br>- The Mahābhārata</div></div></div></div></div>
</div></div>