]> git.tuebingen.mpg.de Git - osl.git/commit
Improve table versioning.
authorAndre Noll <maan@systemlinux.org>
Sun, 2 Aug 2009 10:31:07 +0000 (12:31 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 2 Aug 2009 10:38:38 +0000 (12:38 +0200)
commit62d228ecaf10d6bd6a1e592bf9d180d36b0f036e
tree09e319aef86cb4c653a46b118616c37b7110260f
parent8709b1999511701c143d803a75c3d094b93a3071
Improve table versioning.

This patch changes the way table version numbers are stored on disk.
Two version numbers instead of only one are stored in the table header:
The version of the lib that created the table, and the lowest version
number of the lib that can read the table.

As the latter is currently 0, it has no effect so far, i.e. tables
created with previous versions of the library still work fine. However,
with this change future versions of the library can detect from the
on-disk versions and the library version numbers if table and library
are compatible.
osl.c
osl_core.h