linux-mips
[Top] [All Lists]

Re: Probs running ntp on an indy

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: Probs running ntp on an indy
From: Daniel Jacobowitz <dan@debian.org>
Date: Thu, 19 Jul 2001 14:20:09 -0700
Cc: libc-alpha@sources.redhat.com, Klaus Naumann <spock@mgnet.de>, Robert Einsle <robert@einsle.de>, linux-mips@oss.sgi.com
In-reply-to: <20010719225137.B1599@paradigm.rfc822.org>; from flo@rfc822.org on Thu, Jul 19, 2001 at 10:51:37PM +0200
Mail-followup-to: Florian Lohoff <flo@rfc822.org>, libc-alpha@sources.redhat.com, Klaus Naumann <spock@mgnet.de>, Robert Einsle <robert@einsle.de>, linux-mips@oss.sgi.com
References: <20010719192614.A22495@tuvok.allgaeu.org> <Pine.LNX.4.21.0107192223140.8136-100000@spock.mgnet.de> <20010719225137.B1599@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.16i
On Thu, Jul 19, 2001 at 10:51:37PM +0200, Florian Lohoff wrote:
> On Thu, Jul 19, 2001 at 10:24:06PM +0200, Klaus Naumann wrote:
> > I know the problem but no solution. I suspect that it's a
> > problem of the poll function in Big Endian environments, because
> > I can reproduce this on my Indigo2 and on an Ultra 1 as well.
> 
> I remember seeing a patch concerning this problem - Something with
> rtsignals - But i cant seem to find it anymore.

That's probably this one.  I knew I'd let a patch slip.  Glibc folk, is
this OK?  The siginfo struct is different on MIPS.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

--- glibc-2.2.3/sysdeps/unix/sysv/linux/mips/bits/siginfo.h.orig        Thu May 
24 15:35:42 2001
+++ glibc-2.2.3/sysdeps/unix/sysv/linux/mips/bits/siginfo.h     Thu May 24 
15:35:49 2001
@@ -45,9 +45,9 @@
 typedef struct siginfo
   {
     int si_signo;              /* Signal number.  */
+    int si_code;               /* Signal code.  */
     int si_errno;              /* If non-zero, an errno value associated with
                                   this signal, as defined in <errno.h>.  */
-    int si_code;               /* Signal code.  */
 
     union
       {

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