projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c54fe
)
2003-02-24 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Mon, 24 Feb 2003 22:35:53 +0000
(22:35 +0000)
committer
Roland McGrath
<roland@gnu.org>
Mon, 24 Feb 2003 22:35:53 +0000
(22:35 +0000)
* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
sysdeps/posix/pause.c
patch
|
blob
|
history
diff --git
a/sysdeps/posix/pause.c
b/sysdeps/posix/pause.c
index
db2c54f
..
8639e68
100644
(file)
--- a/
sysdeps/posix/pause.c
+++ b/
sysdeps/posix/pause.c
@@
-19,6
+19,7
@@
#include <signal.h>
#include <unistd.h>
+#include <sysdep-cancel.h>
/* Suspend the process until a signal arrives.
This always returns -1 and sets errno to EINTR. */
@@
-36,3
+37,5
@@
__libc_pause (void)
return __sigsuspend (&set);
}
weak_alias (__libc_pause, pause)
+
+LIBC_CANCEL_HANDLED (); /* sigsuspend handles our cancellation. */