Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Issue 6306076: code review 6306076: go/build: fix boolean negation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by rsc
Modified:
13 years, 2 months ago
Reviewers:
CC:
golang-dev, bsiegert
Visibility:
Public.

Description

go/build: fix boolean negation !(linux&cgo | darwin&cgo) = (!linux|!cgo) & (!darwin|!cgo) = (!linux&!darwin) | !cgo // new comment ≠ !linux | !darwin | !cgo // old comment Fixes issue 3726.

Patch Set 1 #

Patch Set 2 : diff -r 267090160633 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 267090160633 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r c8d163b7930e https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/go/build/doc.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2012-06-13 19:49:10 UTC) #1
bsiegert
LGTM
13 years, 2 months ago (2012-06-13 20:05:32 UTC) #2
rsc
13 years, 2 months ago (2012-06-13 20:25:12 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=cbef2fd0bcda ***

go/build: fix boolean negation

!(linux&cgo | darwin&cgo)
= (!linux|!cgo) & (!darwin|!cgo)
= (!linux&!darwin) | !cgo  // new comment
≠ !linux | !darwin | !cgo  // old comment

Fixes issue 3726.

R=golang-dev, bsiegert
CC=golang-dev
http://codereview.appspot.com/6306076
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b