[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary
From: |
Robert Collins |
Subject: |
Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary |
Date: |
Wed, 25 Aug 2004 14:01:40 +1000 |
On Tue, 2004-08-24 at 21:13 -0700, Tom Lord wrote:
> > From: "Robert Anderson" <address@hidden>
>
> > Shouldn't the algorithm look for the tag at the "bottom" location
> > _first_? And only if no tag is found, to search the top?
>
> Unfortunate backwards compatability issue there. No, it needs to
> search the top first. The recently added error check is a good thing
> -- it should even be mirrored to check truncation of tags at the
> bottom.....
IIRC There's not need to check that - it starts at the beginning of the
first line in the buffer, which means a truncated tag at the bottom will
not match at all. And as the bottom is the tail of the file, it can't
truncate content there...
> but it appears to have been slightly botched in the
> current instance.
How so?
Rob
signature.asc
Description: This is a digitally signed message part
Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary, Robert Anderson, 2004/08/25
Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary, Robert Anderson, 2004/08/25
Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary, Robert Anderson, 2004/08/25