[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb, libio, readline
From: |
Marcus Brinkmann |
Subject: |
Re: gdb, libio, readline |
Date: |
Sun, 31 Mar 2002 00:59:53 +0100 |
User-agent: |
Mutt/1.3.27i |
Hi,
mmh, wait a second:
const mach_msg_type_t inttype =
{ MACH_MSG_TYPE_INTEGER_T, sizeof (MACH_MSG_TYPE_INTEGER_T) * 8,
1, 1, 0, 0 };
What is this "sizeof (MACH_MSG_TYPE_INTEGER_T)"? MACH_MSG_TYPE_INTEGER_T is
just a macro defining a number:
#define MACH_MSG_TYPE_INTEGER_T MACH_MSG_TYPE_INTEGER_32
It doesn't seem to make sense to use the sizeof operator on this value.
Is what you want here the size of the MACH_MSG_INTEGER_T type? In this case
32/8 = 4, which matches sizeof(int)?
I don't think that this is the error condition here, but anyway.
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 <=
- bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- 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