]> git.pond.sub.org Git - empserver/commit
Fix fields checks for split tables:
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Aug 2007 18:38:37 +0000 (18:38 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Aug 2007 18:38:37 +0000 (18:38 +0000)
commitbfee6962fc9d3808d9703d7dbea2c0b99dcee755
tree1bc6bacf82a5ec4768cbcc24218dd8a832d772a4
parent26d45adf8a0e28d77c039a3fec06633f4bab6248
Fix fields checks for split tables:
(caseen): Remove.
(xufldhdr, deffld): Record only fields in this part in caflds[].  This
fixes the check for duplicate fields in parts other than the first.
(cafldspp): New, to record fields in previous parts.
(xundump): Initialize and finalize it.
(xufooter): Update it.  Requires new parameter ca.  Caller changed.
(fldval_must_match): Use it to do the right thing for split arrays.
(chkflds): Adapt for changed caflds[].
(chkflds): The check for missing fields was skipped for all parts of a
split table instead of for all but the final part.
src/lib/common/xundump.c