I suggest we check in the attached patch to stable.

J'

On Thu, Feb 05, 2009 at 12:07:37AM -0200, Michel Boaventura wrote:
     
     This bank was created based on a questionary and was populated with
     other SPSS software, Data Entry.
     
     You can download it at:
     www.cecaps.ufmg.br/pspp/files/test.sav
     
     2009/2/4 John Darrington <[email protected]>:
     > On Wed, Feb 04, 2009 at 11:33:49PM -0200, Michel Boaventura wrote:
     >
     >     Trying with diferent files, in only some of then pspp says:
     >
     >     The PSPP processing engine reported the following message:
     >     PSPP warning: "C:\SETOP FINAL_01_12.sav" near offset 0x7a68:
     >     Unrecognized record type 7, subtype 8.
     >
     >     But in other files it works without problem. What this error means?

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


diff --git a/src/data/sys-file-reader.c b/src/data/sys-file-reader.c
index af09189..9bda18e 100644
--- a/src/data/sys-file-reader.c
+++ b/src/data/sys-file-reader.c
@@ -1,3 +1,4 @@
+
 /* PSPP - a program for statistical analysis.
    Copyright (C) 1997-9, 2000, 2006, 2007, 2009 Free Software Foundation, Inc.
 
@@ -744,7 +745,11 @@ read_extension_record (struct sfm_reader *r, struct dictionary *dict,
       break;
 
     case 7:
-      /* Unknown purpose. */
+      /* Used by the MRSETS command. */
+      break;
+
+    case 8:
+      /* Used by the SPSS Data Entry software. */
       break;
 
     case 11:
@@ -784,7 +789,7 @@ read_extension_record (struct sfm_reader *r, struct dictionary *dict,
       break;
 
     default:
-      sys_warn (r, _("Unrecognized record type 7, subtype %d."), subtype);
+      sys_warn (r, _("Unrecognized record type 7, subtype %d.  Please send a copy of this file, and the syntax which created it to [email protected]"), subtype);
       break;
     }
 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to