projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4061f4
)
[CRT]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 12 May 2014 14:25:53 +0000
(14:25 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 12 May 2014 14:25:53 +0000
(14:25 +0000)
* Update ferror().
CORE-8080
svn path=/trunk/; revision=63255
reactos/lib/sdk/crt/stdio/file.c
patch
|
blob
|
history
diff --git
a/reactos/lib/sdk/crt/stdio/file.c
b/reactos/lib/sdk/crt/stdio/file.c
index
1dc27d8
..
b7dbbb7
100644
(file)
--- a/
reactos/lib/sdk/crt/stdio/file.c
+++ b/
reactos/lib/sdk/crt/stdio/file.c
@@
-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;
}
/*********************************************************************