This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug hurd/4126] New: Implementation of sigsuspend_not_cancel for the Hurd
- From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 2 Mar 2007 23:21:52 -0000
- Subject: [Bug hurd/4126] New: Implementation of sigsuspend_not_cancel for the Hurd
- Reply-to: sourceware-bugzilla at sourceware dot org
Aurélien Jarno reported:
``sigsuspend_not_cancel is not defined for Hurd in sysdeps/mach/hurd/sigsuspend.c. This function is called from sysdeps/posix/pause.c.''
I answered:
``Mmm, it looks to me like the current __sigsuspend() doesn't handle cancellation anyway (probably because libpthread on the Hurd is a separate library).''
Hence the following patch:
--- sysdeps/mach/hurd/sigsuspend.c.orig 2007-02-12 02:54:19.000000000 +0100
+++ sysdeps/mach/hurd/sigsuspend.c 2007-02-12 02:54:35.000000000 +0100
@@ -80,4 +80,5 @@
return -1;
}
libc_hidden_def (__sigsuspend)
+strong_alias (__sigsuspend, sigsuspend_not_cancel)
weak_alias (__sigsuspend, sigsuspend)
--
Summary: Implementation of sigsuspend_not_cancel for the Hurd
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: hurd
AssignedTo: roland at gnu dot org
ReportedBy: samuel dot thibault at ens-lyon dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4126
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.