+Tue Feb 6 19:58:03 2007 Ben Pfaff <blp@gnu.org>
+
+ * flip.c (flip_file): Give better error message on end-of-file.
+
2007-02-04 Jason Stover <jhs@math.gcsu.edu>
* regression.q: Fixed p-value computation in the test for
if (read_cases != fread (input_buf, case_bytes, read_cases, input_file))
{
- msg (SE, _("Error reading FLIP file: %s."), strerror (errno));
+ if (ferror (input_file))
+ msg (SE, _("Error reading FLIP file: %s."), strerror (errno));
+ else
+ msg (SE, _("Unexpected end of file reading FLIP file."));
return false;
}