提交 ecdab767 编写于 作者: A agapple

fixed issue #2129 , Negative seek offset

上级 403fdf99
......@@ -28,10 +28,13 @@ public class FileUtils {
minIndex = 0;
}
String line;
if (readIndex < 0) {
readIndex = 0;
}
rf.seek(readIndex);
int k = 0;
int c = -1;
String line = null;
while (readIndex > start) {
if (k == l) {
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册