public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug hurd/4126] New: Implementation of sigsuspend_not_cancel for the Hurd
Date: Fri, 02 Mar 2007 23:22:00 -0000	[thread overview]
Message-ID: <20070302232152.4126.samuel.thibault@ens-lyon.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

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.


             reply	other threads:[~2007-03-02 23:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02 23:22 samuel dot thibault at ens-lyon dot org [this message]
2007-07-22 12:43 ` [Bug hurd/4126] " samuel dot thibault at ens-lyon dot org
2007-07-23  0:37 ` cvs-commit at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070302232152.4126.samuel.thibault@ens-lyon.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).