]> git.pond.sub.org Git - empserver/commit
Fix empdump not to grow game state files with fixed size
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 3 May 2011 05:53:37 +0000 (07:53 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Jun 2011 14:50:06 +0000 (16:50 +0200)
commit58ed1d1b9e3d59103f56bc4a0612b643ae77bc8f
tree8e159334b670cd09431efa341544e01546f7bdd5
parent73bd5d6aa3bb798b5d48aac0f7635414b391497c
Fix empdump not to grow game state files with fixed size

empdump -i now complains about extra rows instead of silently growing
the file to a size the server will reject.  Affects tables sector,
nation, realms, game.

Bonus fix: better error message on I/O error or insufficient memory.
include/file.h
src/lib/common/file.c
src/lib/common/xundump.c