On Wed, 2007-10-17 at 13:07 +0200, Stefan Reinauer wrote:
- Alex Beregszaszi alex@rtfs.hu [070906 02:59]:
Hi,
this adds a 32bit version field after the magic. I choose 200709061 as a starting version, where the last 1 is a counter ranging to 9, thus there can be 9 different version per day (lol).
It is not going to try any backward compatibility or workaround based on version, just bail out or skip when a different version than we are running is encountered.
It might be a better idea grouping len and offset fields after or before version field, and make then fixed by design, so we can do correct skipping instead the 16-byte aligned walking.
Note: the "/* NOTE -- This and the user-mode lar.h are NOT IN SYNC. Be careful. */" message (which is present both in include/lar.h and utils/lar/lar.h) is not valid anymore.
Alex
Signed-off-by: Alex Beregszaszi alex@rtfs.hu
Acked-by: Stefan Reinauer stepan@coresystems.de
Please commit.
Are we still in favor of this? If yes I will commit it tomorrow.
-- Alex