aboutsummaryrefslogtreecommitdiffstats
path: root/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'field.c')
-rw-r--r--field.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/field.c b/field.c
index 931bafcc..5e5a3511 100644
--- a/field.c
+++ b/field.c
@@ -216,7 +216,11 @@ rebuild_record()
}
} else {
*n = *r;
- n->flags &= ~(MALLOC|STRING);
+ if (n->flags & MALLOC) {
+ /* unexpected, since FIELD is on! */
+ warning(_("invalid flags combination `%s' detected while rebuilding record; please file a bug report."), flags2str(n->flags));
+ n->flags &= ~MALLOC;
+ }
}
n->stptr = cops;