diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | routine.c | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +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. + 2002-05-07 Roland McGrath <roland@frob.com> * type.c (itMakeNaturalType): New function. @@ -377,8 +377,7 @@ rtFindSize(const argument_t *args, u_int mask) 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; |