[haiku-commits] Re: haiku: hrev49454 - src/add-ons/kernel/partitioning_systems/gpt build/jam/images/definitions

  • From: gus knight <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 26 Jul 2015 16:50:02 -0400

On Sun, Jul 26, 2015 at 4:25 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

No time to look into it, but does it just check the correctness of the
header, or is it also being used to compute the actual CRC value for a new
header?

The former.

If the former, I should be given a minor slap for being lazy (since it's
just a simple CRC you should easily be able to do the 'zeroing' manually
without touching the data).

Except the 'CRC' field is in the middle of the struct, and I wasn't
sure why that was...

* waddlesplash slaps axeld around with a large trout

-gus

Other related posts: