projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename sysexits_.h to sysexits.in.h.
[gnulib.git]
/
lib
/
sigprocmask.c
diff --git
a/lib/sigprocmask.c
b/lib/sigprocmask.c
index
149d270
..
9649f8b
100644
(file)
--- a/
lib/sigprocmask.c
+++ b/
lib/sigprocmask.c
@@
-1,5
+1,5
@@
/* POSIX compatible signal blocking.
/* POSIX compatible signal blocking.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006
-2007
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2006.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2006.
This program is free software; you can redistribute it and/or modify
@@
-19,7
+19,7
@@
#include <config.h>
/* Specification. */
#include <config.h>
/* Specification. */
-#include
"sigprocmask.h"
+#include
<signal.h>
#include <errno.h>
#include <stdint.h>
#include <errno.h>
#include <stdint.h>
@@
-178,7
+178,7
@@
sigprocmask (int operation, const sigset_t *set, sigset_t *old_set)
received[sig] = 0;
for (sig = 0; sig < NSIG; sig++)
received[sig] = 0;
for (sig = 0; sig < NSIG; sig++)
- if (received[
NSIG
])
+ if (received[
sig
])
{
#if HAVE_RAISE
raise (sig);
{
#if HAVE_RAISE
raise (sig);