From: Ben Pfaff Date: Sat, 8 Dec 2007 06:17:00 +0000 (+0000) Subject: Patch #6302. X-Git-Tag: v0.6.0~164 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0301aac45f7a1c790c29a2180af663f3bda7137a;p=pspp-builds.git Patch #6302. (data_parser_make_active_file): Fix case count argument to casereader_create_sequential, which fixes data reading in the GUI. Provided by John Darrington. --- diff --git a/src/language/data-io/ChangeLog b/src/language/data-io/ChangeLog index 4adce992..112efefb 100644 --- a/src/language/data-io/ChangeLog +++ b/src/language/data-io/ChangeLog @@ -1,3 +1,12 @@ +2007-12-07 Ben Pfaff + + Patch #6302. + + * data-parser.c (data_parser_make_active_file): Fix case count + argument to casereader_create_sequential, which fixes data reading + in the GUI. + Provided by John Darrington. + 2007-12-04 Ben Pfaff Move DATA LIST parsing into generic infrastructure, and generalize diff --git a/src/language/data-io/data-parser.c b/src/language/data-io/data-parser.c index 04c81732..5fb044a5 100644 --- a/src/language/data-io/data-parser.c +++ b/src/language/data-io/data-parser.c @@ -701,8 +701,8 @@ data_parser_make_active_file (struct data_parser *parser, struct dataset *ds, r->reader = reader; r->value_cnt = dict_get_next_value_idx (dict); casereader = casereader_create_sequential (NULL, r->value_cnt, - -1, &data_parser_casereader_class, - r); + CASENUMBER_MAX, + &data_parser_casereader_class, r); proc_set_active_file (ds, casereader, dict); }