Mercurial > hg > octave-jordi > gnulib-hg
changeset 16064:7dd7edd3fc9a
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>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 09 Nov 2011 11:34:21 -0700 |
parents | c3b6b5b6bc32 |
children | 7ecf82aec60c |
files | ChangeLog lib/sigprocmask.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff