提交 113ea500 编写于 作者: K kohsuke

bug fix on Solaris x86

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14862 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6d8271da
......@@ -591,7 +591,7 @@ public abstract class ProcessTreeKiller {
for( int n=0; n<argc; n++ ) {
// read a pointer to one entry
as.seek(to64(argp+n*4));
int p = as.readInt();
int p = adjust(as.readInt());
arguments.add(readLine(as, p, "argv["+ n +"]"));
}
......@@ -620,7 +620,7 @@ public abstract class ProcessTreeKiller {
for( int n=0; ; n++ ) {
// read a pointer to one entry
as.seek(to64(envp+n*4));
int p = as.readInt();
int p = adjust(as.readInt());
if(p==0)
break; // completed the walk
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册