From e34ff107cd9f68eb32a7d59a2626e3ddf37a7db7 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 12 May 2014 13:17:31 +0000 Subject: [PATCH] [CRT] * Update feof(). CORE-8080 svn path=/trunk/; revision=63253 --- reactos/lib/sdk/crt/stdio/file.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/reactos/lib/sdk/crt/stdio/file.c b/reactos/lib/sdk/crt/stdio/file.c index 275a1efcb48..1dc27d8413c 100644 --- a/reactos/lib/sdk/crt/stdio/file.c +++ b/reactos/lib/sdk/crt/stdio/file.c @@ -2232,13 +2232,7 @@ int CDECL fclose(FILE* file) */ int CDECL feof(FILE* file) { - int ret; - - _lock_file(file); - ret = file->_flag & _IOEOF; - _unlock_file(file); - - return ret; + return file->_flag & _IOEOF; } /*********************************************************************