[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mig hack (was: Re: nss is broken
From: |
Marcus Brinkmann |
Subject: |
mig hack (was: Re: nss is broken |
Date: |
Wed, 31 Jul 2002 01:40:56 +0200 |
User-agent: |
Mutt/1.4i |
On Tue, Jul 30, 2002 at 06:19:57PM +0200, Marcus Brinkmann wrote:
> I compiled glibc and the Hurd with my modified mig. Actually, only four
> RPCs were affected: io_identity (because of ino64_t), io_read, io_write,
> io_seek and file_set_size.
This is the MiG change I used. It works for me, but I didn't test 64 bit
targets.
2002-07-31 Marcus Brinkmann <marcus@gnu.org>
* routine.c (rtFindSize): Always add sizeof_mach_msg_type_t to
SIZE for args not in long form, irregardless of the itSize.
Thanks,
Marcus
--- routine.c.ori 2002-07-31 01:37:40.000000000 +0200
+++ routine.c 2002-07-31 01:38:50.000000000 +0200
@@ -377,8 +377,7 @@ rtFindSize(const argument_t *args, u_int
size = (size + word_size-1) & ~(word_size-1);
size += sizeof_mach_msg_type_long_t;
} else {
- register bs = (it->itSize / 8); /* in bytes */
- size += (bs > sizeof_mach_msg_type_t) ? bs :
sizeof_mach_msg_type_t;
+ size += sizeof_mach_msg_type_t;
}
size += it->itMinTypeSize;
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
- nss is broken, Marcus Brinkmann, 2002/07/30
- mig hack (was: Re: nss is broken,
Marcus Brinkmann <=
- Re: nss is broken, Marcus Brinkmann, 2002/07/31
- Re: nss is broken, Marcus Brinkmann, 2002/07/31
- Re: nss is broken, Roland McGrath, 2002/07/31
- Re: nss is broken, Roland McGrath, 2002/07/31
- Re: nss is broken, Roland McGrath, 2002/07/31
- Re: nss is broken, Marcus Brinkmann, 2002/07/31
- Re: nss is broken, Roland McGrath, 2002/07/31