[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: R: R: PSPP-BUG: bug report
From: |
Ben Pfaff |
Subject: |
Re: R: R: R: PSPP-BUG: bug report |
Date: |
Sat, 24 Nov 2007 14:17:55 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"Gay" <address@hidden> writes:
> I get the following message:
>
> data list file='data11050.dat'/var01 1-11050 (A).
> save outfile='data11050.sav'.
> get file='data11050.sav'.
>> warning: "data11050.sav" near offset 0xb2a5: Duplicate long variable name
>> `var01' within system file.
As always, thank you for the bug report. I have checked in the
fix, which I also append here for your convenience:
--- short-names.c 24 Jul 2007 20:46:32 -0800 1.1
+++ short-names.c 24 Nov 2007 14:12:49 -0800
@@ -181,7 +181,7 @@ short_names_assign (struct dictionary *d
struct variable *v = dict_get_var (d, i);
int segment_cnt = sfm_width_to_segments (var_get_width (v));
for (j = 1; j < segment_cnt; j++)
- claim_short_name (v, i, short_names);
+ claim_short_name (v, j, short_names);
}
/* Assign short names to first segment of remaining variables,
--
Ben Pfaff
http://benpfaff.org