Hi, Aurelien Jarno, le Thu 08 Feb 2007 20:52:33 +0100, a écrit : > sigsuspend_not_cancel is not defined for Hurd in > sysdeps/mach/hurd/sigsuspend.c. This function is called from > sysdeps/posix/pause.c. > > Any volunteer to implement it?
Mmm, it looks to me like the current __sigsuspend() doesn't handle cancellation anyway (probably because libpthread on the Hurd is a separate library). So something like the following could be just fine: diff -u -p -r1.23 sigsuspend.c --- sysdeps/mach/hurd/sigsuspend.c 3 Aug 2002 06:54:20 -0000 1.23 +++ sysdeps/mach/hurd/sigsuspend.c 11 Feb 2007 00:30:43 -0000 @@ -80,4 +80,5 @@ __sigsuspend (set) return -1; } libc_hidden_def (__sigsuspend) +strong_alias (__sigsuspend, __sigsuspend_nocancel) weak_alias (__sigsuspend, sigsuspend) Samuel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]