ef_verify: Fix test for undumpable tables
Virtual selectors can't be used in xundump, since we lack a setter to
go with ca_get(). verify_ca() verifies they don't occur in tables
that can be xundumped.
When I restricted xundump to tables with a file name (commit 029d929
,
v4.3.28), I neglected to update the test in verify_ca().
Factor out the correct test into xundumpable(). Use it to fix
verify_ca().
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
bb0f3a656e
commit
18b5d16248
3 changed files with 16 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
|||
* xdump.h: Extended dumps
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2008-2014
|
||||
* Markus Armbruster, 2008-2016
|
||||
*/
|
||||
|
||||
#ifndef XDUMP_H
|
||||
|
@ -54,6 +54,7 @@ extern void xdcolhdr(struct xdstr *, struct castr[]);
|
|||
extern void xdflds(struct xdstr *, struct castr[], void *);
|
||||
extern void xdftr(struct xdstr *, int);
|
||||
extern int xundump(FILE *, char *, int *, int);
|
||||
extern int xundumpable(int);
|
||||
extern int xundump_redundant(int, int, void *);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue