Commit 89fc2c8f authored by Russ Cox's avatar Russ Cox

gopack: fix prefix bug

When prefix doesn't match, was deleting entire .6 file.

R=dsymonds
CC=golang-dev
https://golang.org/cl/4427041
parent 91dfae75
......@@ -1676,6 +1676,10 @@ arread_cutprefix(Biobuf *b, Armember *bp)
offset = o;
}
}
} else {
// didn't find the whole prefix.
// give up and let it emit the entire name.
inprefix = nil;
}
// copy instructions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment