fix build on Solaris 10 and other platforms, where ferror is a just a macro

(0) -1000 -300 -100 -30 -10 -1 +1 tip

mercurial