]> git.pond.sub.org Git - empserver/commit
Fix how configuration tables and empdump treat omitted entries
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 22 May 2011 07:14:11 +0000 (09:14 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Jun 2011 14:51:56 +0000 (16:51 +0200)
commit7457573a501da0f82eb84bdd277a2072e5f298ea
tree1dd02d4bd9aaec482c333eb44e91cf8cd9743ada
parent84d88442b38bbd1a0d368d693c517166dc39faab
Fix how configuration tables and empdump treat omitted entries

Change xundump to blank out omitted rows.  Before, they were left
alone.  Impact:

* No change for reading builtin tables.

* Reading custom tables now replaces the builtin tables instead of
  sort-of-merging them.  Wasn't a real merge, because it dropped
  builtin entries after the last custom entry, except for
  non-truncatable tables item, sect-chr and infrastructure.

* empdump -i now replaces the old state instead of sort-of-merging the
  dump into the old state.  Wasn't a real merge, because it dropped
  old state entries after the last entry in the dump, except for the
  fixed-size tables sect, nat, realm and game.
src/lib/common/xundump.c