On Mon, 3 Mar 2003, David Dawes wrote:

> >> >You've got glibc 2.2.1, I'll guess.  The #if's should be looking for glibc
> >> >< 2.2.2, not 2.2, although a host.def override is available (see
> >> >xfree86.cf).

> >> OK, so using the version macros in <features.h> isn't good enough here,
> >> and it has to be done with the imake LinuxCLib*Version parameters instead.

> >I don't think that's necessary.  It is simpler to #define HAS_GLIBC_SIGSETJMP
> >for all of glibc 2.2.*, which is, in part, what I'll be committing
> >shortly, after I iron out my libc5 problem.

> So that would mean using __sigsetjmp(env, 0) on all glibc 2.x.  I guess
> that has to work for compatibility reasons.  It's definitely cleaner
> and lower-impact than trying to keep track of the two cases separately.
> As we've seen, the host.def override was incompletely implemented in
> 4.3.0.

Right.  The override becomes unnecessary also, so I'll remove it.

BTW, without HAS_GLIBC_SIGSETJMP, we end up with the equivalent to
__sigsetjmp(env, 1).  I don't think the discrepancy is right, but I'm
undecided as to which one to use.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to