NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/51450 (tcptraceroute stopped working properly in 6.0 -> 7.0 transition)
The following reply was made to PR kern/51450; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/51450 (tcptraceroute stopped working properly in 6.0 -> 7.0
transition)
Date: Mon, 5 Sep 2016 18:11:35 +0000
On Tue, Aug 30, 2016 at 03:55:00PM +0000, Paul_Koning%Dell.com@localhost wrote:
> > Not that it would make any difference for any of our platforms,
> > since the conversion I did was
> >
> > u_long -> uin32_t
> > u_short -> uint16_t
> >
> > and I left u_char alone, even though it could be replaced with
> > uint8_t. Anyway, differences in alignment rules for 64-bit types
> > don't actually factor into the equation here.
>
> I think that 16 and 32 bit types are not a problem, while I know
> for a fact that 64 bit types are. If others can confirm I remember
> that correctly, then we can leave it alone.
We don't have any 16-bit platforms where the alignment requirement for
uint32_t would be less than 32-bits. Nor are we likely to ever see
one, and if we do all kinds of stuff will break. So, don't worry about
it.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index