libarchive/libarchive — pull request #29 by travitch (2012-11-02 15:11:08+00:00)
Title: Fix an error test on the result from fread

fread returns a short byte count on error (and ferror has to be used
to determine if it really was an error). There was a check for < 0,
which fread cannot return.