From 3d0fa95d5c3c8826c9bc5ce746b220aa36581afb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 11 Aug 2016 21:36:13 +0000 Subject: os: fix build tags for dir_regfile.go We want to build dir_regfile.go if not GNU/linux, and not solaris/386, and not solaris/sparc. The latter two conditions were incorrect. To write ! solaris/386 we have to write !solaris !386. I forgot De Morgan's Law. Reviewed-on: https://go-review.googlesource.com/26870 From-SVN: r239393 --- libgo/go/os/dir_regfile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgo/go/os') diff --git a/libgo/go/os/dir_regfile.go b/libgo/go/os/dir_regfile.go index adea87d..8b17f38 100644 --- a/libgo/go/os/dir_regfile.go +++ b/libgo/go/os/dir_regfile.go @@ -6,8 +6,8 @@ // license that can be found in the LICENSE file. // +build !linux -// +build !solaris,386 -// +build !solaris,sparc +// +build !solaris !386 +// +build !solaris !sparc package os -- cgit v1.1