summaryrefslogtreecommitdiffstats
path: root/src/FileMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileMgr.cpp')
-rw-r--r--src/FileMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileMgr.cpp b/src/FileMgr.cpp
index 02c797ba..d4e0b89b 100644
--- a/src/FileMgr.cpp
+++ b/src/FileMgr.cpp
@@ -163,8 +163,8 @@ myfseek(int fd, long offset, int whence)
static int
myfeof(int fd)
{
-// return feof(myfiles[fd].file);
- return ferror(myfiles[fd].file);
+ return feof(myfiles[fd].file);
+// return ferror(myfiles[fd].file);
}