mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CRT]
* Update ferror(). CORE-8080 svn path=/trunk/; revision=63255
This commit is contained in:
parent
a4061f41e7
commit
ca543abe1e
1 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
Loading…
Reference in a new issue