[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug located (was: Re: gdb, libio, readline
From: |
Marcus Brinkmann |
Subject: |
Re: bug located (was: Re: gdb, libio, readline |
Date: |
Sun, 31 Mar 2002 03:19:37 +0200 |
User-agent: |
Mutt/1.3.27i |
On Sun, Mar 31, 2002 at 01:59:56AM +0100, Marcus Brinkmann wrote:
> ok, here is some hard data. It turns out that the comparison:
> *(int *) &msg.error.err_type == *(int *) &inttype
>
> is failing, with the correct number 268509186 on the left hand and a bogus
> number 65536 on the right hand.
>
> So it seems that this construct doesn't work with inttype, which is:
> const mach_msg_type_t inttype =
> { MACH_MSG_TYPE_INTEGER_T, sizeof (MACH_MSG_TYPE_INTEGER_T) * 8,
> 1, 1, 0, 0 };
I tried removing the "const", and this made it work. What does this tell
us?
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- gdb, libio, readline, Marcus Brinkmann, 2002/03/29
- Re: gdb, libio, readline, Roland McGrath, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: bug located (was: Re: gdb, libio, readline,
Marcus Brinkmann <=
- Re: bug located (was: Re: gdb, libio, readline, Niels Möller, 2002/03/31
- Re: bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/31
- Re: bug located (was: Re: gdb, libio, readline, Roland McGrath, 2002/03/31