projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completely rewrite src/data/format.[ch], to achieve better
[pspp]
/
src
/
language
/
stats
/
sort-cases.c
diff --git
a/src/language/stats/sort-cases.c
b/src/language/stats/sort-cases.c
index f50b67fec156245c32ebf328c14d5eac35aae5cc..be8e3235070634dadbf6cd7692ba3f8049506ba2 100644
(file)
--- a/
src/language/stats/sort-cases.c
+++ b/
src/language/stats/sort-cases.c
@@
-40,14
+40,14
@@
/* Performs the SORT CASES procedures. */
int
/* Performs the SORT CASES procedures. */
int
-cmd_sort_cases (
void
)
+cmd_sort_cases (
struct dataset *ds
)
{
struct sort_criteria *criteria;
bool success = false;
lex_match (T_BY);
{
struct sort_criteria *criteria;
bool success = false;
lex_match (T_BY);
- criteria = sort_parse_criteria (d
efault_dict
, NULL, NULL, NULL, NULL);
+ criteria = sort_parse_criteria (d
ataset_dict (ds)
, NULL, NULL, NULL, NULL);
if (criteria == NULL)
return CMD_CASCADING_FAILURE;
if (criteria == NULL)
return CMD_CASCADING_FAILURE;
@@
-68,7
+68,7
@@
cmd_sort_cases (void)
lex_get ();
}
lex_get ();
}
- success = sort_active_file_in_place (criteria);
+ success = sort_active_file_in_place (
ds,
criteria);
done:
min_buffers = 64;
done:
min_buffers = 64;