[haiku-commits] Re: haiku: hrev45156 - src/kits/interface headers/os/interface

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 14 Jan 2013 15:57:13 -0500

On Mon, Jan 14, 2013 at 3:50 PM, Siarzhuk Zharski <zharik@xxxxxx> wrote:
> Ahh.. Holy Cow of Binary Compatibility bit me! ;-) Thank you for the
> pointing it out!
>
> Corresponding to previous change in hrev44756:
>
> + bool fInstalledNavigateWordwiseShortcuts;
> + bool fInstalledNavigateToTopOrBottomShortcuts;
> - uint32 _reserved[7];
> + uint32 _reserved[6];

If I'm not mistaken, this would've left two padding bytes in between
fInstalledNavigateToTopOrBottomShortcuts and _reserved. Ergo, the size
should actually still be ok since the two extra bools would simply
take up the padding bytes. Would need to compare the result of
sizeof() to be sure though.

Regards,

Rene

Other related posts: