pc+-file-reader: Fix handling of short files.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Sep 2015 18:42:26 +0000 (11:42 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Sep 2015 18:42:26 +0000 (11:42 -0700)
The code failed to return an error properly when fread() read past end of
file.

The function comment didn't properly reflect what the function actually
returned, so this commit also updates the comment.

Reported by John Darrington.


No differences found