Yo Hal! On Tue, 04 Feb 2025 17:32:31 -0800 Hal Murray via devel <devel@ntpsec.org> wrote:
> > As Alice would say, "curiouser and curiouser". Just when I think > > I've figured out the reason for one bit of bizarreness, you find > > another. :-) > > I think the current code works on all my systems. That's a start. > > What's the breakdown in the 32-bit NetBSD case? One would hope > > that the payload is 64+32 and not vice versa. > > #define NTP_SIZEOF_LONG 4 /* Size of long from <None> */ #define NTP_SIZEOF_LONG sizeof(long) > #define NTP_SIZEOF_STRUCT_TIMESPEC 12 /* Size of struct timespec from > <time.h> */ #define NTP_SIZEOF_STRUCT_TIMESPEC sizeof(struct timespec) etc. > [This is an example of why I want that sizeof stuff.] Please no new #defines like those. Check out https://gitlab.com/NTPsec/ntpsec/-/merge_requests/1426 RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin _______________________________________________ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/listinfo/devel