title: Ignore SIGPIPE for a single popen'd FILE*
body: <p>The code I am looking at is here:</p>
  
  <p><a href="http://github.com/andymatuschak/Sparkle/blob/8ea15468b4a8c0487ca7a72f3c9e6ffb708c6af8/SUPipedUnarchiver.m" rel="nofollow noreferrer">http://github.com/andymatuschak/Sparkle/blob/8ea15468b4a8c0487ca7a72f3c9e6ffb708c6af8/SUPipedUnarchiver.m</a></p>
  
  <p>Sparkle is like a plugin. It can be instantiated in a multi-threaded program. Thus I don't want to call signal(SIGPIPE, SIG_IGN) (ie. ignore <em>all</em> SIGPIPE) as who knows what other threads are doing/expecting.</p>
  
  <p>How can I disable the SIGPIPE signal for this one FILE pointer opened via popen?</p>