This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug hurd/4126] New: Implementation of sigsuspend_not_cancel for the Hurd


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]