fgetc() is not required to clear the error indicator on success
Merge pull request #191 from Dmitry-Me/dontIgnoreFgetcReturnValue

fgetc() is not required to clear the error indicator on success
Merge pull request #1 from leethomason/master

Merge from upstream