projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new output/ascii.h header to the distribution, fixing "make dist".
[pspp]
/
src
/
language
/
stats
/
aggregate.c
diff --git
a/src/language/stats/aggregate.c
b/src/language/stats/aggregate.c
index b0df0b8e29ae702a9d0aedaf555730a4353690ce..d7339d8652c60115a926acfe10ba85ee09dff369 100644
(file)
--- 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)
{
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);
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;
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
agr.dict = NULL;
}
else