From 503aa6505e26f7dadf9e115eca186c9c01ff99d9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 13 Jun 2012 16:24:56 -0400 Subject: [PATCH] go/build: fix boolean negation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit !(linux&cgo | darwin&cgo) = (!linux|!cgo) & (!darwin|!cgo) = (!linux&!darwin) | !cgo // new comment ≠ !linux | !darwin | !cgo // old comment Fixes #3726. R=golang-dev, bsiegert CC=golang-dev https://golang.org/cl/6306076 --- src/pkg/go/build/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/go/build/doc.go b/src/pkg/go/build/doc.go index 67c26ac7f4f..618eefe9e46 100644 --- a/src/pkg/go/build/doc.go +++ b/src/pkg/go/build/doc.go @@ -100,7 +100,7 @@ // default functionality for other systems, which in this case would // carry the constraint: // -// // +build !linux !darwin !cgo +// // +build !linux,!darwin !cgo // // Naming a file dns_windows.go will cause it to be included only when // building the package for Windows; similarly, math_386.s will be included