pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/data case-tmpfile.c [simpler-proc]


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/data case-tmpfile.c [simpler-proc]
Date: Sun, 22 Apr 2007 20:40:15 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         simpler-proc
Changes by:     Ben Pfaff <blp> 07/04/22 20:40:15

Modified files:
        src/data       : case-tmpfile.c 

Log message:
        Fix buggy assertion.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/case-tmpfile.c?cvsroot=pspp&only_with_tag=simpler-proc&r1=1.1.2.2&r2=1.1.2.3

Patches:
Index: case-tmpfile.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/Attic/case-tmpfile.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- case-tmpfile.c      14 Apr 2007 05:04:23 -0000      1.1.2.2
+++ case-tmpfile.c      22 Apr 2007 20:40:15 -0000      1.1.2.3
@@ -111,7 +111,7 @@
                          casenumber case_idx, size_t start_value,
                          union value values[], size_t value_cnt) 
 {
-  assert (value_cnt < ctf->value_cnt);
+  assert (value_cnt <= ctf->value_cnt);
   assert (value_cnt + start_value <= ctf->value_cnt);
 
   if (!do_seek (ctf, case_idx, start_value))




reply via email to

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