exactly the expected size: as long as they're big enough, it's OK.
+2007-08-12 Ben Pfaff <blp@gnu.org>
+
+ * casereader.c (casereader_read): Don't require cases read by a
+ casereader to be exactly the expected size: as long as they're big
+ enough, it's OK.
+
2007-08-12 Ben Pfaff <blp@gnu.org>
Make casewriters keep track of the number of `union value's in
(casewriter_write): Check that the case passed in is big enough.
(casewriter_get_value_cnt): New function.
(casewriter_create): Add value_cnt parameter.
-
2007-08-09 Ben Pfaff <blp@gnu.org>
{
if (reader->case_cnt != 0 && reader->class->read (reader, reader->aux, c))
{
- assert (case_get_value_cnt (c) == reader->value_cnt);
+ assert (case_get_value_cnt (c) >= reader->value_cnt);
if (reader->case_cnt != CASENUMBER_MAX)
reader->case_cnt--;
return true;