raise: fix mingw handling of SIGPIPE
authorEric Blake <eblake@redhat.com>
Wed, 9 Nov 2011 18:34:21 +0000 (11:34 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 9 Nov 2011 18:34:21 +0000 (11:34 -0700)
commit7a95153e34b888730afdce3467653f70c4c724e1
treef3ca3b3cd796952b6af079a1b75347bf169398a6
parent91dc8145d6bb46926bcff16983e870554416d232
raise: fix mingw handling of SIGPIPE

When compiling for mingw, I see:

  CC     sigprocmask.lo
sigprocmask.c: In function '_gl_raise_SIGPIPE':
sigprocmask.c:349:1: warning: control reaches end of non-void function

which means that raise(SIGPIPE) would be using an uninitialized
value as its return.

* lib/sigprocmask.c (_gl_raise_SIGPIPE): Provide a return value.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/sigprocmask.c