mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[CRT]
* Update ferror(). CORE-8080 svn path=/trunk/; revision=63255
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
||||
Reference in New Issue
Block a user