[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/data value-labels.c ChangeLog
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] pspp/src/data value-labels.c ChangeLog |
Date: |
Mon, 11 Dec 2006 15:56:13 +0000 |
CVSROOT: /cvsroot/pspp
Module name: pspp
Changes by: Ben Pfaff <blp> 06/12/11 15:56:13
Modified files:
src/data : value-labels.c ChangeLog
Log message:
* value-labels.c (hash_int_val_lab): Only hash as many bytes as
the value label's width.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/value-labels.c?cvsroot=pspp&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/ChangeLog?cvsroot=pspp&r1=1.87&r2=1.88
Patches:
Index: value-labels.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/value-labels.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- value-labels.c 10 Dec 2006 03:42:50 -0000 1.12
+++ value-labels.c 11 Dec 2006 15:56:13 -0000 1.13
@@ -403,7 +403,7 @@
if (vls->width == 0)
return hsh_hash_double (vl->value.f);
else
- return hsh_hash_bytes (vl->value.s, sizeof vl->value.s);
+ return hsh_hash_bytes (vl->value.s, vls->width);
}
/* Free a value label. */
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/ChangeLog,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- ChangeLog 11 Dec 2006 15:39:23 -0000 1.87
+++ ChangeLog 11 Dec 2006 15:56:13 -0000 1.88
@@ -1,3 +1,8 @@
+Mon Dec 11 07:53:39 2006 Ben Pfaff <address@hidden>
+
+ * value-labels.c (hash_int_val_lab): Only hash as many bytes as
+ the value label's width.
+
Sun Dec 10 14:21:29 2006 Ben Pfaff <address@hidden>
* sfm-private.h: Move contents into sys-file-writer.c, which is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/data value-labels.c ChangeLog,
Ben Pfaff <=