1
0
mirror of https://github.com/golang/go synced 2024-11-21 18:44:45 -07:00
R=ken2
CC=golang-dev
https://golang.org/cl/194073
This commit is contained in:
Russ Cox 2010-01-25 18:48:18 -08:00
parent 7263bfc73b
commit 60a6ec1c93

View File

@ -111,7 +111,7 @@ ldpkg(Biobuf *f, char *pkg, int64 len, char *filename)
return;
}
p0 += 8;
while(p0 < p1 && *p0 == ' ' || *p0 == '\t' || *p0 == '\n')
while(p0 < p1 && (*p0 == ' ' || *p0 == '\t' || *p0 == '\n'))
p0++;
name = p0;
while(p0 < p1 && *p0 != ' ' && *p0 != '\t' && *p0 != '\n')