summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index baf69881..a2eeb039 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -426,7 +426,7 @@ strmHandleEOFMonitor(strm_t *pThis)
pThis->pszCurrFName, (unsigned) statOpen.st_ino,
(unsigned) statName.st_ino,
pThis->iCurrOffs, (long long) statName.st_size);
- if(statOpen.st_ino == statName.st_ino && pThis->iCurrOffs == statName.st_size) {
+ if(statOpen.st_ino == statName.st_ino && pThis->iCurrOffs >= statName.st_size) {
ABORT_FINALIZE(RS_RET_EOF);
} else {
/* we had a file change! */