提交 12259026 编写于 作者: U Ulric Qin

ignore EOF error

上级 aab2f8b0
......@@ -108,6 +108,7 @@ func ReadNameAndMem(path string) (name string, memory uint64, err error) {
var bs []byte
bs, err = file.ReadLine(reader)
if err == io.EOF {
err = nil
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册