提交 c1fcd050 编写于 作者: K kohsuke

EOF has to be checked

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13296 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c74f649f
......@@ -554,7 +554,7 @@ public abstract class ProcessTreeKiller {
as.seek(to64(p));
ByteArrayOutputStream buf = new ByteArrayOutputStream();
int ch,i=0;
while((ch=as.read())!=0) {
while((ch=as.read())>0) {
if((++i)%100==0 && LOGGER.isLoggable(FINEST))
LOGGER.finest("env["+n+"] is so far "+buf.toString());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册