Index: src/OFFile.m ================================================================== --- src/OFFile.m +++ src/OFFile.m @@ -896,10 +896,12 @@ if (ret == -1) @throw [OFSeekFailedException exceptionWithStream: self offset: offset whence: whence]; + + _atEndOfStream = false; return ret; } - (int)fileDescriptorForReading