]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: do not parse .syso files
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 8 Mar 2012 06:06:53 +0000 (17:06 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 8 Mar 2012 06:06:53 +0000 (17:06 +1100)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5786049

src/pkg/go/build/build.go

index 9a04c4636c1e2a59b7797cac99b43d035fd3a6e0..23887908607b34b587bb0d3137c89c89d0d15ae4 100644 (file)
@@ -483,6 +483,7 @@ Found:
                        // Likely of the form foo_windows.syso, but
                        // the name was vetted above with goodOSArchFile.
                        p.SysoFiles = append(p.SysoFiles, name)
+                       continue
                default:
                        // skip
                        continue