~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
struct/dstr-putf.c: Fix typo in commentary.
[mLib]
/
sel
/
sig.c
diff --git
a/sel/sig.c
b/sel/sig.c
index
87dbb33
..
bc55912
100644
(file)
--- a/
sel/sig.c
+++ b/
sel/sig.c
@@
-76,7
+76,7
@@
static void sig_handler(int n)
unsigned char sch = (unsigned char)n;
sigprocmask(SIG_BLOCK, &ss_all, 0);
sigaddset(&ss_caught, n);
-
write(sigfd, &sch, 1)
;
+
if (write(sigfd, &sch, 1)) /*hunoz*/
;
/* The system should reset the signal mask here. */
errno = e;
}