int fc, lc; /* Column numbers in record. */
/* Free format only. */
- char name[SHORT_NAME_LEN + 1]; /* Name of variable. */
+ char name[LONG_NAME_LEN + 1]; /* Name of variable. */
};
/* Constants for DATA LIST type. */
else
{
msg (SE, _("SPSS-like or FORTRAN-like format "
- "specification expected after variable names."));
+ "specification expected after variable names."));
goto fail;
}
spec->input = input;
spec->v = v;
spec->fv = v->fv;
- strcpy (spec->name, v->name);
+ st_trim_copy (spec->name, v->name, sizeof spec->name);
append_var_spec (first, last, spec);
}
for (i = 0; i < name_cnt; i++)