From 60a6ec1c9367d50c039c589aee5637f21c6a11cc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 25 Jan 2010 18:48:18 -0800 Subject: [PATCH] ld: typo R=ken2 CC=golang-dev https://golang.org/cl/194073 --- src/cmd/ld/go.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/ld/go.c b/src/cmd/ld/go.c index 4385e463ff8..e5bf8ed66aa 100644 --- a/src/cmd/ld/go.c +++ b/src/cmd/ld/go.c @@ -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')