linux-mips
[Top] [All Lists]

Re: cvs glibc bug?

To: linux-mips@linux-mips.org
Subject: Re: cvs glibc bug?
From: Guido Guenther <agx@sigxcpu.org>
Date: Tue, 20 May 2003 15:54:42 +0200
In-reply-to: <20030516215147.GT8833@rembrandt.csv.ica.uni-stuttgart.de>
Mail-followup-to: Guido Guenther <agx@sigxcpu.org>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200305162333.34877.benmen@gmx.de> <20030516215147.GT8833@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.3i
On Fri, May 16, 2003 at 11:51:47PM +0200, Thiemo Seufer wrote:
> SI_TKILL is new in glibc and not yet ported to mips.
Well, the kernel's include/asm-mips/siginfo.h defines SI_KILL as -6
while glibc defines SI_ASYNCNL as -6. Is there a reason for this or is
this just a typo, all other architectures define the later as -60. If
it's a typo i'd like to keep this in sync with other architectures:
 
Index: sysdeps/unix/sysv/linux/mips/bits/siginfo.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/mips/bits/siginfo.h,v
retrieving revision 1.9
diff -u -p -u -r1.9 siginfo.h
--- sysdeps/unix/sysv/linux/mips/bits/siginfo.h 5 Dec 2002 00:23:59 -0000       
1.9
+++ sysdeps/unix/sysv/linux/mips/bits/siginfo.h 20 May 2003 12:57:08 -0000
@@ -119,8 +119,10 @@ typedef struct siginfo
    signals.  */
 enum
 {
-  SI_ASYNCNL = -6,             /* Sent by asynch name lookup completion.  */
+  SI_ASYNCNL = -60,            /* Sent by asynch name lookup completion.  */
 # define SI_ASYNCNL    SI_ASYNCNL
+  SI_TKILL = -6,               /* Sent by tkill. */
+# define SI_TKILL      SI_TKILL
   SI_SIGIO,                    /* Sent by queued SIGIO. */
 # define SI_SIGIO      SI_SIGIO
   SI_MESGQ,                    /* Sent by real time mesq state change.  */

Regards,
 -- Guido

<Prev in Thread] Current Thread [Next in Thread>