X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Fget.c;h=edd1512ca8daf3880291838337f256fa52d1758e;hb=687adf53eae434e88a47bb3409f946f3a26115a4;hp=8b03ec95f809322e88edff3a47bd1a0d6ba7465f;hpb=dda5e7a6be2af282b1644e04415f24b7b2381d97;p=pspp-builds.git diff --git a/src/language/data-io/get.c b/src/language/data-io/get.c index 8b03ec95..edd1512c 100644 --- a/src/language/data-io/get.c +++ b/src/language/data-io/get.c @@ -1111,14 +1111,19 @@ cmd_match_files (struct lexer *lexer, struct dataset *ds) if (used_active_file) { proc_set_sink (ds, create_case_sink (&null_sink_class, - dataset_dict (ds), NULL)); + dataset_dict (ds), + dataset_get_casefile_factory (ds), + NULL)); proc_open (ds); } else discard_variables (ds); dict_compact_values (mtf.dict); - mtf.output = fastfile_create (dict_get_next_value_idx (mtf.dict)); + mtf.output = dataset_get_casefile_factory (ds)->create_casefile + (dataset_get_casefile_factory (ds), + dict_get_next_value_idx (mtf.dict)); + mtf.seq_nums = xcalloc (dict_get_var_cnt (mtf.dict), sizeof *mtf.seq_nums); case_create (&mtf.mtf_case, dict_get_next_value_idx (mtf.dict));