[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building glibc 2.5 on Hurd



On Sun, Feb 11, 2007 at 01:31:35AM +0100, Samuel Thibault wrote:
> 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:

I have commited a slightly different patch, the name of the function was
not correct :) (see below)

Could you please forward it upstream?

With this patch the glibc 2.5 is now building correctly. An upload will
happen soon.

Thanks
Aurelien


--- 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)

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: