pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/data ChangeLog short-names.c


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/data ChangeLog short-names.c
Date: Sat, 24 Nov 2007 22:14:43 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Changes by:     Ben Pfaff <blp> 07/11/24 22:14:43

Modified files:
        src/data       : ChangeLog short-names.c 

Log message:
        (short_names_assign): Fix dumb typo, in which `i' was written where
        `j' was meant.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/ChangeLog?cvsroot=pspp&r1=1.170&r2=1.171
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/short-names.c?cvsroot=pspp&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/ChangeLog,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -b -r1.170 -r1.171
--- ChangeLog   19 Nov 2007 01:06:05 -0000      1.170
+++ ChangeLog   24 Nov 2007 22:14:43 -0000      1.171
@@ -1,3 +1,12 @@
+2007-11-24  Ben Pfaff  <address@hidden>
+
+       Fix warning reported when reading back system files that include
+       very long string variables.  Thanks to Guido Gay <address@hidden> for
+       reporting this bug.
+
+       * short-names.c (short_names_assign): Fix dumb typo, in which `i'
+       was written where `j' was meant.
+
 2007-11-18  Ben Pfaff  <address@hidden>
 
        Properly write variables that include a range of missing values to

Index: short-names.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/short-names.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- short-names.c       23 Jul 2007 05:05:45 -0000      1.1
+++ short-names.c       24 Nov 2007 22:14:43 -0000      1.2
@@ -181,7 +181,7 @@
       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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]