mirror of
https://github.com/golang/go
synced 2024-11-22 02:34:40 -07:00
gopack: fix prefix bug
When prefix doesn't match, was deleting entire .6 file. R=dsymonds CC=golang-dev https://golang.org/cl/4427041
This commit is contained in:
parent
91dfae756e
commit
89fc2c8f4f
@ -1676,6 +1676,10 @@ arread_cutprefix(Biobuf *b, Armember *bp)
|
|||||||
offset = o;
|
offset = o;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// didn't find the whole prefix.
|
||||||
|
// give up and let it emit the entire name.
|
||||||
|
inprefix = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
// copy instructions
|
// copy instructions
|
||||||
|
Loading…
Reference in New Issue
Block a user