1
0
mirror of https://github.com/golang/go synced 2024-11-22 17:35:19 -07:00

fix gobuild.

errors introduced in CL 30601

R=austin
DELTA=6  (3 added, 0 deleted, 3 changed)
OCL=30663
CL=30665
This commit is contained in:
Russ Cox 2009-06-23 16:21:05 -07:00
parent 0aef57e37f
commit a45c54d1a5
2 changed files with 6 additions and 3 deletions

View File

@ -71,8 +71,9 @@ func PushPkg(vp *[]*Pkg, p *Pkg) {
}
v = a;
}
*vp = v[0:n+1];
v = v[0:n+1];
v[n] = p;
*vp = v;
}
func PushFile(vp *[]*File, p *File) {
@ -86,8 +87,9 @@ func PushFile(vp *[]*File, p *File) {
}
v = a;
}
*vp = v[0:n+1];
v = v[0:n+1];
v[n] = p;
*vp = v;
}
// For sorting Files

View File

@ -82,8 +82,9 @@ func PushString(vp *[]string, p string) {
}
v = a;
}
*vp = v[0:n+1];
v = v[0:n+1];
v[n] = p;
*vp = v;
}
func run(argv []string, flag int) (ok bool) {