X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Faggregate.c;h=aef4bbbfa9555cf8ebd3a393773e383115f6126e;hb=b74d09af5e07f954c18e7cdb8aca3af47fa10208;hp=2497d064b2226cf6bf7a9705e165dd9be29fc45f;hpb=6f135ae2a14a178f850c25cb4bad6c0aae88c920;p=pspp-builds.git diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index 2497d064..aef4bbbf 100644 --- a/src/language/stats/aggregate.c +++ b/src/language/stats/aggregate.c @@ -404,7 +404,7 @@ parse_aggregate_functions (struct agr_proc *agr) if (token == T_STRING) { ds_truncate (&tokstr, 255); - dest_label[n_dest - 1] = xstrdup (ds_c_str (&tokstr)); + dest_label[n_dest - 1] = ds_xstrdup (&tokstr); lex_get (); } } @@ -472,7 +472,7 @@ parse_aggregate_functions (struct agr_proc *agr) lex_match (','); if (token == T_STRING) { - arg[i].c = xstrdup (ds_c_str (&tokstr)); + arg[i].c = ds_xstrdup (&tokstr); type = ALPHA; } else if (lex_is_number ())