From d102d699995a6a601db45312622051173d7be754 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 24 Feb 2003 22:35:53 +0000 Subject: [PATCH] 2003-02-24 Roland McGrath * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. --- sysdeps/posix/pause.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c index db2c54f29d..8639e684f4 100644 --- a/sysdeps/posix/pause.c +++ b/sysdeps/posix/pause.c @@ -19,6 +19,7 @@ #include #include +#include /* 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. */