* Update ferror().
CORE-8080

svn path=/trunk/; revision=63255
This commit is contained in:
Amine Khaldi 2014-05-12 14:25:53 +00:00
parent a4061f41e7
commit ca543abe1e

View file

@ -2240,13 +2240,7 @@ int CDECL feof(FILE* file)
*/
int CDECL ferror(FILE* file)
{
int ret;
_lock_file(file);
ret = file->_flag & _IOERR;
_unlock_file(file);
return ret;
return file->_flag & _IOERR;
}
/*********************************************************************