pspp-cvs
[Top][All Lists]
Advanced

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

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


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/pfm-read.c
Date: Sat, 12 Mar 2005 15:22:19 -0500

Index: pspp/src/pfm-read.c
diff -u pspp/src/pfm-read.c:1.18 pspp/src/pfm-read.c:1.19
--- pspp/src/pfm-read.c:1.18    Sat Mar 12 01:12:16 2005
+++ pspp/src/pfm-read.c Sat Mar 12 20:22:18 2005
@@ -396,8 +396,11 @@
 
   /* Skip and verify signature. */
   for (i = 0; i < 8; i++) 
-    if (!match (r, "SPSSPORT"[i]))
-      error (r, _("Missing SPSSPORT signature."));
+    if (!match (r, "SPSSPORT"[i])) 
+      {
+        msg (SE, _("%s: Not a portable file."), handle_get_filename (r->fh));
+        longjmp (r->bail_out, 1);
+      }
 }
 
 /* Reads the version and date info record, as well as product and




reply via email to

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