pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/ui ChangeLog flexifile.c


From: John Darrington
Subject: [Pspp-cvs] pspp/src/ui ChangeLog flexifile.c
Date: Wed, 20 Dec 2006 12:15:18 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   06/12/20 12:15:18

Modified files:
        src/ui         : ChangeLog flexifile.c 

Log message:
        Implemented flexifilereader_cnum.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/ChangeLog?cvsroot=pspp&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/flexifile.c?cvsroot=pspp&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/ui/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChangeLog   16 Nov 2006 12:47:22 -0000      1.3
+++ ChangeLog   20 Dec 2006 12:15:18 -0000      1.4
@@ -1,3 +1,7 @@
+Wed Dec 20 21:14:29 WST 2006 John Darrington <address@hidden>
+
+       * flexifile.c (flexifilereader_cnum) : new function
+
 Thu Nov 16 20:44:58 WST 2006 John Darrington <address@hidden>
 
        * debugger.c debugger.h New files.

Index: flexifile.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/flexifile.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- flexifile.c 16 Dec 2006 04:26:43 -0000      1.6
+++ flexifile.c 20 Dec 2006 12:15:18 -0000      1.7
@@ -182,6 +182,13 @@
   return true;
 }
 
+static unsigned long
+flexifilereader_cnum (const struct casereader *cr)
+{
+  struct flexifilereader *ffr = FLEXIFILEREADER(cr);
+
+  return ffr->case_idx;
+}
 
 static struct ccase *
 flexifilereader_get_next_case (struct casereader *cr)
@@ -286,7 +293,7 @@
   {
     {
       flexifilereader_get_next_case,
-      0,  /* cnum */
+      flexifilereader_cnum,
       flexifilereader_destroy,
       flexifilereader_clone
     }




reply via email to

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