sys-file-writer: Put long variable name in variable attributes.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 16 Jun 2011 01:55:54 +0000 (18:55 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 16 Jun 2011 01:55:54 +0000 (18:55 -0700)
commit099b41646452789d8a5b31218fa6522d1ea46584
treea82c94f348a71822b9542e2da1691e7dfcf21a78
parent48bf7bfe2e8398dd26bbab9d8194bda6061fd4aa
sys-file-writer: Put long variable name in variable attributes.

Otherwise, PSPP cannot read back .sav files that it writes, if
they contain variable attributes for variables with long names.

Thanks to Curt Reinhold <Curt.Reinhold@psychonomics.de> for
providing the .sav file that led to this discovery and to John
Darrington for helping to investigate.
doc/dev/system-file-format.texi
src/data/sys-file-writer.c
tests/data/sys-file.at