bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc bug causes parted to write bad GPT entries


From: Richard Hirst
Subject: Re: gcc bug causes parted to write bad GPT entries
Date: Mon, 18 Mar 2002 22:56:05 +0000
User-agent: Mutt/1.3.24i

On Mon, Mar 18, 2002 at 04:47:36PM -0600, address@hidden wrote:
> It might make sense to declare that data in the structures is always LE, and
> drop the conversion between on-disk and memory.
> Then, on structure access, use macros that on LE just return the structure
> member, and on BE, swab on access, but the data in the structures never
> changes.  Then, none of this "what format is it in" business.  It's always
> LE, and to access the structure members, you've got to use macros.
> 
> Thoughts?

... and swap round calls to libuuid, as your patch from a while back
did.  That makes sense to me, I'll look through the code with that in
mind tomorrow and see if anything else jumps out.

Cheers,
  Richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]