missing-values: Make mv_add_str() easier to use.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 30 Sep 2013 01:55:38 +0000 (18:55 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 30 Sep 2013 02:17:26 +0000 (19:17 -0700)
commit4aa11074dae28b2026f6633295bd72db4dd51d1b
treef84ccf87251ee4e662d48e461bd0ad8d24a4c75c
parent47d59628a7d51aaea05066a2d89261c3d364db35
missing-values: Make mv_add_str() easier to use.

Both existing callers of mv_add_str() were applying their own padding to
the string value.  This commit moves the padding into mv_add_str() itself.

This commit also fixes a minor to-do item in the MISSING VALUES command
whereby truncation of too-long missing values was done bytewise rather than
on the basis of full characters.
src/data/missing-values.c
src/data/missing-values.h
src/data/sys-file-reader.c
src/language/dictionary/missing-values.c