We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc6f14a commit b9500f3Copy full SHA for b9500f3
src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java
@@ -91,6 +91,8 @@ public void seek(ThreadContext tc, long offset, long whence) {
91
} catch (IllegalArgumentException e) {
92
throw ExceptionHandling.dieInternal(tc, e);
93
}
94
+ /* Reset readBuffer since content is out of sync after fc.position. */
95
+ readBuffer = null;
96
97
98
public long tell(ThreadContext tc) {
0 commit comments