This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: [PATCH] MIPS/Linux: Kernel vs libc struct siginfo discrepancy


On Thu, 11 Nov 2004, Ralf Baechle wrote:

> > dated back to Aug 1999 (!), the definitions of struct siginfo in Linux and 
> > GNU libc differ to each other.  While it's the kernel that is at fault by 
> > changing its ABI, at this stage it may be more acceptable to update glibc 
> > as it's not the only program interfacing to Linux (uClibc?).  It doesn't 
> 
> uClibc copies it's headers from glibc it seems.  The change in 1999 was
> quite intensional because back then there was no SA_SIGINFO using libc for
> MIPS yet.

 Well, I'm afraid the glibc's header dates back to Jan 1999, so it
predates the change to Linux and this is why it uses the original
definition.  Of course I know what the relationship between MIPS/Linux and
glibc was back then and problems like this prove this wasn't the best idea
ever.  They are the very reason I insist on pushing changes upstream as
soon as possible.  Otherwise fixes get forgotten or lost as patches for
old versions get discarded.  This change should have made its way to glibc
at the time of the change to Linux.

  Maciej


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