From: Ben Pfaff Date: Wed, 5 Jan 2011 05:55:07 +0000 (-0800) Subject: sys-file-writer: Fix subtype used for v14+ multiple response set records. X-Git-Tag: v0.7.7~80 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=50f245ab3b7e42ae79ea4076ad7a2bbb97841cc6 sys-file-writer: Fix subtype used for v14+ multiple response set records. --- diff --git a/src/data/sys-file-writer.c b/src/data/sys-file-writer.c index efefa8fb..1a65e3c0 100644 --- a/src/data/sys-file-writer.c +++ b/src/data/sys-file-writer.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -679,7 +679,7 @@ write_mrsets (struct sfm_writer *w, const struct dictionary *dict, ds_put_format (&s, " %s", var_get_short_name (mrset->vars[j], 0)); ds_put_byte (&s, '\n'); } - write_attribute_record (w, &s, 7); + write_attribute_record (w, &s, pre_v14 ? 7 : 19); ds_destroy (&s); }