sig.c: Ignore return code from write(2) to pipe.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 May 2010 14:31:30 +0000 (15:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 20 Oct 2012 11:40:12 +0000 (12:40 +0100)
commit8082dd2a30e96fe5b43946e680a521587c4e6b72
treefa43e8407dba49c8fc45881f01bb8518b22081d0
parent3ac6fc5f908dde89522ba92946a0cb85aabd4bc1
sig.c: Ignore return code from write(2) to pipe.

We get warnings nowadays about this.  These are annoying.  The only
thing that can go wrong is that the pipe is already full, so the write
will block.  But if that happens, our job is already done: the select(2)
loop will certainly wake up soon because the pipe is full of stuff to be
read.  So ignoring the error here is harmless.

Insert a stupid bodge to shut the compiler up.
sel/sig.c