X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Faggregate.c;h=d7339d8652c60115a926acfe10ba85ee09dff369;hb=993af59a283dbad8b26a390535f76cdeb00a9108;hp=b0df0b8e29ae702a9d0aedaf555730a4353690ce;hpb=2be9bee9da6a2ce27715e58128569594319abfa2;p=pspp diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index b0df0b8e29..d7339d8652 100644 --- a/src/language/stats/aggregate.c +++ b/src/language/stats/aggregate.c @@ -275,7 +275,7 @@ cmd_aggregate (struct lexer *lexer, struct dataset *ds) if (out_file == NULL) { - /* The active file will be replaced by the aggregated data, + /* The active dataset will be replaced by the aggregated data, so TEMPORARY is moot. */ proc_cancel_temporary_transformations (ds); proc_discard_output (ds); @@ -351,7 +351,8 @@ cmd_aggregate (struct lexer *lexer, struct dataset *ds) if (next_input == NULL) goto error; - proc_set_active_file (ds, next_input, agr.dict); + dataset_set_dict (ds, agr.dict); + dataset_set_source (ds, next_input); agr.dict = NULL; } else