pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] Changes to pspp/src/dfm-read.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/dfm-read.c
Date: Tue, 07 Jun 2005 03:20:51 -0400

Index: pspp/src/dfm-read.c
diff -u pspp/src/dfm-read.c:1.4 pspp/src/dfm-read.c:1.5
--- pspp/src/dfm-read.c:1.4     Sat May 14 00:25:28 2005
+++ pspp/src/dfm-read.c Tue Jun  7 07:20:50 2005
@@ -78,11 +78,12 @@
       assert (inline_open_cnt > 0);
       still_open = --inline_open_cnt;
 
-      if (still_open) 
+      if (!still_open) 
         {
           /* Skip any remaining data on the inline file. */
-          while ((r->flags & DFM_EOF) == 0)
-            read_record (r);
+          if (r->flags & DFM_SAW_BEGIN_DATA)
+            while ((r->flags & DFM_EOF) == 0)
+              read_record (r);
           inline_file = NULL;
         }
     }




reply via email to

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