Commit 9b6ccb13 authored by Péter Surányi's avatar Péter Surányi Committed by Ian Lance Taylor

all: don't refer to code.google.com/p/go{,-wiki}/

Only documentation / comment changes. Update references to
point to golang.org permalinks or go.googlesource.com/go.
References in historical release notes under doc are left as is.

Change-Id: Icfc14e4998723e2c2d48f9877a91c5abef6794ea
Reviewed-on: https://go-review.googlesource.com/4060Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 89669c65
...@@ -40,7 +40,7 @@ is mirrored to the <code>gcc/go/gofrontend</code> directory in the GCC ...@@ -40,7 +40,7 @@ is mirrored to the <code>gcc/go/gofrontend</code> directory in the GCC
repository, and the <code>gofrontend</code> <code>libgo</code> repository, and the <code>gofrontend</code> <code>libgo</code>
directory is mirrored to the GCC <code>libgo</code> directory. In directory is mirrored to the GCC <code>libgo</code> directory. In
addition, the <code>test</code> directory addition, the <code>test</code> directory
from <a href="//code.google.com/p/go">the main Go repository</a> from <a href="//go.googlesource.com/go">the main Go repository</a>
is mirrored to the <code>gcc/testsuite/go.test/test</code> directory is mirrored to the <code>gcc/testsuite/go.test/test</code> directory
in the GCC repository. in the GCC repository.
</p> </p>
...@@ -65,7 +65,7 @@ from <code>gcc/go/gofrontend</code> to <code>gcc/go</code>. ...@@ -65,7 +65,7 @@ from <code>gcc/go/gofrontend</code> to <code>gcc/go</code>.
<p> <p>
The run-time library for gccgo is mostly the same as the library The run-time library for gccgo is mostly the same as the library
in <a href="//code.google.com/p/go">the main Go repository</a>. in <a href="//go.googlesource.com/go">the main Go repository</a>.
The library code in the Go repository is periodically merged into The library code in the Go repository is periodically merged into
the <code>libgo/go</code> directory of the <code>gofrontend</code> and the <code>libgo/go</code> directory of the <code>gofrontend</code> and
then the GCC repositories, using the shell then the GCC repositories, using the shell
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Test that the #cgo CFLAGS directive works, // Test that the #cgo CFLAGS directive works,
// with and without platform filters. // with and without platform filters.
// See http://code.google.com/p/go/issues/detail?id=5224 for details. // See http://golang.org/issue/5224 for details.
package cgotest package cgotest
/* /*
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Test that setgid does not hang on GNU/Linux. // Test that setgid does not hang on GNU/Linux.
// See http://code.google.com/p/go/issues/detail?id=3871 for details. // See http://golang.org/issue/3871 for details.
package cgotest package cgotest
......
For information about plugins and other support for Go in editors and shells, For information about plugins and other support for Go in editors and shells,
see this page on the Go Wiki: see this page on the Go Wiki:
https://code.google.com/p/go-wiki/wiki/IDEsAndTextEditorPlugins https://golang.org/wiki/IDEsAndTextEditorPlugins
...@@ -1211,7 +1211,7 @@ assignop(Type *src, Type *dst, char **why) ...@@ -1211,7 +1211,7 @@ assignop(Type *src, Type *dst, char **why)
*why = ""; *why = "";
// TODO(rsc,lvd): This behaves poorly in the presence of inlining. // TODO(rsc,lvd): This behaves poorly in the presence of inlining.
// https://code.google.com/p/go/issues/detail?id=2795 // https://golang.org/issue/2795
if(safemode && importpkg == nil && src != T && src->etype == TUNSAFEPTR) { if(safemode && importpkg == nil && src != T && src->etype == TUNSAFEPTR) {
yyerror("cannot use unsafe.Pointer"); yyerror("cannot use unsafe.Pointer");
errorexit(); errorexit();
......
...@@ -200,7 +200,7 @@ func BenchmarkDecodeDigits(b *testing.B) { benchmarkDecode(b, digits) } ...@@ -200,7 +200,7 @@ func BenchmarkDecodeDigits(b *testing.B) { benchmarkDecode(b, digits) }
func BenchmarkDecodeTwain(b *testing.B) { benchmarkDecode(b, twain) } func BenchmarkDecodeTwain(b *testing.B) { benchmarkDecode(b, twain) }
func TestBufferOverrun(t *testing.T) { func TestBufferOverrun(t *testing.T) {
// Tests https://code.google.com/p/go/issues/detail?id=5747. // Tests https://golang.org/issue/5747.
buffer := bytes.NewReader([]byte(bufferOverrunBase64)) buffer := bytes.NewReader([]byte(bufferOverrunBase64))
decoder := base64.NewDecoder(base64.StdEncoding, buffer) decoder := base64.NewDecoder(base64.StdEncoding, buffer)
decompressor := NewReader(decoder) decompressor := NewReader(decoder)
...@@ -209,7 +209,7 @@ func TestBufferOverrun(t *testing.T) { ...@@ -209,7 +209,7 @@ func TestBufferOverrun(t *testing.T) {
} }
func TestOutOfRangeSelector(t *testing.T) { func TestOutOfRangeSelector(t *testing.T) {
// Tests https://code.google.com/p/go/issues/detail?id=8363. // Tests https://golang.org/issue/8363.
buffer := bytes.NewReader(outOfRangeSelector) buffer := bytes.NewReader(outOfRangeSelector)
decompressor := NewReader(buffer) decompressor := NewReader(buffer)
// This shouldn't panic. // This shouldn't panic.
......
...@@ -407,7 +407,7 @@ func TestWriterDict(t *testing.T) { ...@@ -407,7 +407,7 @@ func TestWriterDict(t *testing.T) {
} }
} }
// See http://code.google.com/p/go/issues/detail?id=2508 // See http://golang.org/issue/2508
func TestRegression2508(t *testing.T) { func TestRegression2508(t *testing.T) {
if testing.Short() { if testing.Short() {
t.Logf("test disabled with -short") t.Logf("test disabled with -short")
......
...@@ -172,7 +172,7 @@ Curves: ...@@ -172,7 +172,7 @@ Curves:
// Although sending an empty NPN extension is reasonable, Firefox has // Although sending an empty NPN extension is reasonable, Firefox has
// had a bug around this. Best to send nothing at all if // had a bug around this. Best to send nothing at all if
// config.NextProtos is empty. See // config.NextProtos is empty. See
// https://code.google.com/p/go/issues/detail?id=5445. // https://golang.org/issue/5445.
if hs.clientHello.nextProtoNeg && len(config.NextProtos) > 0 { if hs.clientHello.nextProtoNeg && len(config.NextProtos) > 0 {
hs.hello.nextProtoNeg = true hs.hello.nextProtoNeg = true
hs.hello.nextProtos = config.NextProtos hs.hello.nextProtos = config.NextProtos
......
...@@ -694,7 +694,7 @@ type Pod struct { ...@@ -694,7 +694,7 @@ type Pod struct {
Pea interface{} `xml:"Pea"` Pea interface{} `xml:"Pea"`
} }
// https://code.google.com/p/go/issues/detail?id=6836 // https://golang.org/issue/6836
func TestUnmarshalIntoInterface(t *testing.T) { func TestUnmarshalIntoInterface(t *testing.T) {
pod := new(Pod) pod := new(Pod)
pod.Pea = new(Pea) pod.Pea = new(Pea)
......
...@@ -166,7 +166,7 @@ func TestCloneThenParse(t *testing.T) { ...@@ -166,7 +166,7 @@ func TestCloneThenParse(t *testing.T) {
} }
} }
// https://code.google.com/p/go/issues/detail?id=5980 // https://golang.org/issue/5980
func TestFuncMapWorksAfterClone(t *testing.T) { func TestFuncMapWorksAfterClone(t *testing.T) {
funcs := FuncMap{"customFunc": func() (string, error) { funcs := FuncMap{"customFunc": func() (string, error) {
return "", errors.New("issue5980") return "", errors.New("issue5980")
......
...@@ -260,7 +260,7 @@ func TestStringer(t *testing.T) { ...@@ -260,7 +260,7 @@ func TestStringer(t *testing.T) {
} }
} }
// https://code.google.com/p/go/issues/detail?id=5982 // https://golang.org/issue/5982
func TestEscapingNilNonemptyInterfaces(t *testing.T) { func TestEscapingNilNonemptyInterfaces(t *testing.T) {
tmpl := Must(New("x").Parse("{{.E}}")) tmpl := Must(New("x").Parse("{{.E}}"))
......
...@@ -2606,7 +2606,7 @@ func TestLargeTan(t *testing.T) { ...@@ -2606,7 +2606,7 @@ func TestLargeTan(t *testing.T) {
// Check that math constants are accepted by compiler // Check that math constants are accepted by compiler
// and have right value (assumes strconv.ParseFloat works). // and have right value (assumes strconv.ParseFloat works).
// http://code.google.com/p/go/issues/detail?id=201 // http://golang.org/issue/201
type floatTest struct { type floatTest struct {
val interface{} val interface{}
......
...@@ -655,7 +655,7 @@ var primes = []string{ ...@@ -655,7 +655,7 @@ var primes = []string{
"10953742525620032441", "10953742525620032441",
"17908251027575790097", "17908251027575790097",
// http://code.google.com/p/go/issues/detail?id=638 // http://golang.org/issue/638
"18699199384836356663", "18699199384836356663",
"98920366548084643601728869055592650835572950932266967461790948584315647051443", "98920366548084643601728869055592650835572950932266967461790948584315647051443",
......
...@@ -53,7 +53,7 @@ func TestLookupStaticHost(t *testing.T) { ...@@ -53,7 +53,7 @@ func TestLookupStaticHost(t *testing.T) {
hostsPath = p hostsPath = p
} }
// https://code.google.com/p/go/issues/detail?id=6646 // https://golang.org/issue/6646
func TestSingleLineHostsFile(t *testing.T) { func TestSingleLineHostsFile(t *testing.T) {
p := hostsPath p := hostsPath
hostsPath = "testdata/hosts_singleline" hostsPath = "testdata/hosts_singleline"
......
...@@ -416,7 +416,7 @@ func TestServeMuxHandlerRedirects(t *testing.T) { ...@@ -416,7 +416,7 @@ func TestServeMuxHandlerRedirects(t *testing.T) {
} }
} }
// Tests for http://code.google.com/p/go/issues/detail?id=900 // Tests for http://golang.org/issue/900
func TestMuxRedirectLeadingSlashes(t *testing.T) { func TestMuxRedirectLeadingSlashes(t *testing.T) {
paths := []string{"//foo.txt", "///foo.txt", "/../../foo.txt"} paths := []string{"//foo.txt", "///foo.txt", "/../../foo.txt"}
for _, path := range paths { for _, path := range paths {
...@@ -2124,7 +2124,7 @@ func TestDoubleHijack(t *testing.T) { ...@@ -2124,7 +2124,7 @@ func TestDoubleHijack(t *testing.T) {
<-conn.closec <-conn.closec
} }
// http://code.google.com/p/go/issues/detail?id=5955 // http://golang.org/issue/5955
// Note that this does not test the "request too large" // Note that this does not test the "request too large"
// exit path from the http server. This is intentional; // exit path from the http server. This is intentional;
// not sending Connection: close is just a minor wire // not sending Connection: close is just a minor wire
......
...@@ -922,7 +922,7 @@ func TestSeek(t *testing.T) { ...@@ -922,7 +922,7 @@ func TestSeek(t *testing.T) {
if off != tt.out || err != nil { if off != tt.out || err != nil {
if e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL && tt.out > 1<<32 { if e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL && tt.out > 1<<32 {
// Reiserfs rejects the big seeks. // Reiserfs rejects the big seeks.
// http://code.google.com/p/go/issues/detail?id=91 // http://golang.org/issue/91
break break
} }
t.Errorf("#%d: Seek(%v, %v) = %v, %v want %v, nil", i, tt.in, tt.whence, off, err, tt.out) t.Errorf("#%d: Seek(%v, %v) = %v, %v want %v, nil", i, tt.in, tt.whence, off, err, tt.out)
......
...@@ -1008,7 +1008,7 @@ func TestDriveLetterInEvalSymlinks(t *testing.T) { ...@@ -1008,7 +1008,7 @@ func TestDriveLetterInEvalSymlinks(t *testing.T) {
} }
} }
func TestBug3486(t *testing.T) { // http://code.google.com/p/go/issues/detail?id=3486 func TestBug3486(t *testing.T) { // http://golang.org/issue/3486
root, err := filepath.EvalSymlinks(runtime.GOROOT() + "/test") root, err := filepath.EvalSymlinks(runtime.GOROOT() + "/test")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
......
...@@ -7,7 +7,7 @@ package runtime ...@@ -7,7 +7,7 @@ package runtime
// Compiler is the name of the compiler toolchain that built the // Compiler is the name of the compiler toolchain that built the
// running binary. Known toolchains are: // running binary. Known toolchains are:
// //
// gc The 5g/6g/8g compiler suite at code.google.com/p/go. // gc The 5g/6g/8g compiler suite at go.googlesource.com/go.
// gccgo The gccgo front end, part of the GCC compiler suite. // gccgo The gccgo front end, part of the GCC compiler suite.
// //
const Compiler = "gc" const Compiler = "gc"
...@@ -99,7 +99,7 @@ func mallocinit() { ...@@ -99,7 +99,7 @@ func mallocinit() {
var reserved bool var reserved bool
// limit = runtime.memlimit(); // limit = runtime.memlimit();
// See https://code.google.com/p/go/issues/detail?id=5049 // See https://golang.org/issue/5049
// TODO(rsc): Fix after 1.1. // TODO(rsc): Fix after 1.1.
limit = 0 limit = 0
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Used to crash the compiler. // Used to crash the compiler.
// http://code.google.com/p/go/issues/detail?id=88 // http://golang.org/issue/88
package main package main
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Used to crash the compiler. // Used to crash the compiler.
// http://code.google.com/p/go/issues/detail?id=158 // http://golang.org/issue/158
package main package main
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Used to be rejected // Used to be rejected
// http://code.google.com/p/go/issues/detail?id=188 // http://golang.org/issue/188
package main package main
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Used to crash // Used to crash
// http://code.google.com/p/go/issues/detail?id=204 // http://golang.org/issue/204
package main package main
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Crashes 6g, 8g // Crashes 6g, 8g
// http://code.google.com/p/go/issues/detail?id=238 // http://golang.org/issue/238
package main package main
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// function call arg reordering was picking out 1 call that // function call arg reordering was picking out 1 call that
// didn't need to be in a temporary, but it was picking // didn't need to be in a temporary, but it was picking
// out the first call instead of the last call. // out the first call instead of the last call.
// http://code.google.com/p/go/issues/detail?id=370 // http://golang.org/issue/370
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Test case for http://code.google.com/p/go/issues/detail?id=692 // Test case for http://golang.org/issue/692
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Test case for http://code.google.com/p/go/issues/detail?id=700 // Test case for http://golang.org/issue/700
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=749 // http://golang.org/issue/749
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=662 // http://golang.org/issue/662
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=589 // http://golang.org/issue/589
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=589 // http://golang.org/issue/589
package main package main
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// Both gccgo and gofmt correctly refuse this program as is and accept it // Both gccgo and gofmt correctly refuse this program as is and accept it
// when the semicolons are present. // when the semicolons are present.
// This is a test case for issue 777 ( http://code.google.com/p/go/issues/detail?id=777 ). // This is a test case for issue 777 ( http://golang.org/issue/777 ).
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=799 // http://golang.org/issue/799
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=808 // http://golang.org/issue/808
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=807 // http://golang.org/issue/807
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=806 // http://golang.org/issue/806
// triggered out of registers on 8g // triggered out of registers on 8g
package bug283 package bug283
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=920 // http://golang.org/issue/920
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=915 // http://golang.org/issue/915
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=843 // http://golang.org/issue/843
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=846 // http://golang.org/issue/846
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=800 // http://golang.org/issue/800
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=990 // http://golang.org/issue/990
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=3119 // http://golang.org/issue/3119
package main package main
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// http://code.google.com/p/go/issues/detail?id=3351 // http://golang.org/issue/3351
package main package main
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// Test that a syntax error caused by an unexpected EOF // Test that a syntax error caused by an unexpected EOF
// gives an error message with the correct line number. // gives an error message with the correct line number.
// //
// https://code.google.com/p/go/issues/detail?id=3392 // https://golang.org/issue/3392
package main package main
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment