diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2015-07-10 17:17:11 -0600 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-07-11 14:36:33 +0000 |
| commit | 2ae77376f7ab6f4161944570cb1b3a38ff47c5cd (patch) | |
| tree | 45ae2231b42b5ff87160dece9f61b1e0fb332bca /src/cmd | |
| parent | f96fa06d14dfb41d987ae5372084e593ac535b13 (diff) | |
| download | go-2ae77376f7ab6f4161944570cb1b3a38ff47c5cd.tar.xz | |
all: link to https instead of http
The one in misc/makerelease/makerelease.go is particularly bad and
probably warrants rotating our keys.
I didn't update old weekly notes, and reverted some changes involving
test code for now, since we're late in the Go 1.5 freeze. Otherwise,
the rest are all auto-generated changes, and all manually reviewed.
Change-Id: Ia2753576ab5d64826a167d259f48a2f50508792d
Reviewed-on: https://go-review.googlesource.com/12048
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/api/goapi_test.go | 2 | ||||
| -rw-r--r-- | src/cmd/cgo/doc.go | 4 | ||||
| -rw-r--r-- | src/cmd/cgo/gcc.go | 2 | ||||
| -rw-r--r-- | src/cmd/cgo/out.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/big/int_test.go | 2 | ||||
| -rw-r--r-- | src/cmd/dist/build.go | 2 | ||||
| -rw-r--r-- | src/cmd/go/build.go | 8 | ||||
| -rw-r--r-- | src/cmd/go/vcs.go | 2 | ||||
| -rw-r--r-- | src/cmd/link/internal/ld/data.go | 2 | ||||
| -rw-r--r-- | src/cmd/link/internal/ld/elf.go | 2 | ||||
| -rw-r--r-- | src/cmd/link/internal/ld/macho.go | 2 | ||||
| -rw-r--r-- | src/cmd/newlink/pclntab.go | 2 | ||||
| -rw-r--r-- | src/cmd/vet/rangeloop.go | 2 |
13 files changed, 17 insertions, 17 deletions
diff --git a/src/cmd/api/goapi_test.go b/src/cmd/api/goapi_test.go index 6184e14477..1d2cc9ac82 100644 --- a/src/cmd/api/goapi_test.go +++ b/src/cmd/api/goapi_test.go @@ -115,7 +115,7 @@ func TestCompareAPI(t *testing.T) { out: "", }, { - // http://golang.org/issue/4303 + // https://golang.org/issue/4303 name: "contexts reconverging", required: []string{ "A", diff --git a/src/cmd/cgo/doc.go b/src/cmd/cgo/doc.go index 6e6f3c7708..99cd4cd134 100644 --- a/src/cmd/cgo/doc.go +++ b/src/cmd/cgo/doc.go @@ -29,14 +29,14 @@ not be referenced from Go code; static functions are permitted. See $GOROOT/misc/cgo/stdio and $GOROOT/misc/cgo/gmp for examples. See "C? Go? Cgo!" for an introduction to using cgo: -http://golang.org/doc/articles/c_go_cgo.html. +https://golang.org/doc/articles/c_go_cgo.html. CFLAGS, CPPFLAGS, CXXFLAGS and LDFLAGS may be defined with pseudo #cgo directives within these comments to tweak the behavior of the C or C++ compiler. Values defined in multiple directives are concatenated together. The directive can include a list of build constraints limiting its effect to systems satisfying one of the constraints -(see http://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax). +(see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax). For example: // #cgo CFLAGS: -DPNG_DEBUG=1 diff --git a/src/cmd/cgo/gcc.go b/src/cmd/cgo/gcc.go index 1624d980ff..84f4978f63 100644 --- a/src/cmd/cgo/gcc.go +++ b/src/cmd/cgo/gcc.go @@ -781,7 +781,7 @@ func (p *Package) gccCmd() []string { // incorrectly typed unsigned long. We work around that // by disabling the builtin functions (this is safe as // it won't affect the actual compilation of the C code). - // See: http://golang.org/issue/6506. + // See: https://golang.org/issue/6506. "-fno-builtin", ) } diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index 3edb70345d..3b24ef1365 100644 --- a/src/cmd/cgo/out.go +++ b/src/cmd/cgo/out.go @@ -656,7 +656,7 @@ func (p *Package) writeGccgoOutputFunc(fgcc *os.File, n *Name) { // used to match gc's struct layout. For example, on 386 Windows, // gcc wants to 8-align int64s, but gc does not. // Use __gcc_struct__ to work around http://gcc.gnu.org/PR52991 on x86, -// and http://golang.org/issue/5603. +// and https://golang.org/issue/5603. func (p *Package) packedAttribute() string { s := "__attribute__((__packed__" if !p.GccIsClang && (goarch == "amd64" || goarch == "386") { diff --git a/src/cmd/compile/internal/big/int_test.go b/src/cmd/compile/internal/big/int_test.go index c19e88addb..16eed9a770 100644 --- a/src/cmd/compile/internal/big/int_test.go +++ b/src/cmd/compile/internal/big/int_test.go @@ -693,7 +693,7 @@ var primes = []string{ "10953742525620032441", "17908251027575790097", - // http://golang.org/issue/638 + // https://golang.org/issue/638 "18699199384836356663", "98920366548084643601728869055592650835572950932266967461790948584315647051443", diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go index 5da0b90e48..f557238e59 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -1012,7 +1012,7 @@ func cmdbootstrap() { "*** %s still exists. ***\n"+ "It probably contains stale files that may confuse the build.\n"+ "Please (check what's there and) remove it and try again.\n"+ - "See http://golang.org/s/go14nopkg\n", + "See https://golang.org/s/go14nopkg\n", pathf("%s/src/pkg", goroot)) } diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go index e678367ff8..0e78328829 100644 --- a/src/cmd/go/build.go +++ b/src/cmd/go/build.go @@ -1433,7 +1433,7 @@ func (b *builder) build(a *action) (err error) { // NOTE(rsc): On Windows, it is critically important that the // gcc-compiled objects (cgoObjects) be listed after the ordinary // objects in the archive. I do not know why this is. - // http://golang.org/issue/2601 + // https://golang.org/issue/2601 objects = append(objects, cgoObjects...) // Add system object files. @@ -1937,7 +1937,7 @@ func (b *builder) runOut(dir string, desc string, env []string, cmdargs ...inter // Sleeping when we observe the race seems to be the most reliable // option we have. // - // http://golang.org/issue/3001 + // https://golang.org/issue/3001 // if err != nil && nbusy < 3 && strings.Contains(err.Error(), "text file busy") { time.Sleep(100 * time.Millisecond << uint(nbusy)) @@ -2838,7 +2838,7 @@ func (b *builder) ccompilerCmd(envvar, defcmd, objdir string) []string { // On OS X, some of the compilers behave as if -fno-common // is always set, and the Mach-O linker in 6l/8l assumes this. - // See http://golang.org/issue/3253. + // See https://golang.org/issue/3253. if goos == "darwin" { a = append(a, "-fno-common") } @@ -3111,7 +3111,7 @@ func (b *builder) cgo(p *Package, cgoExe, obj string, pcCFLAGS, pcLDFLAGS, cgofi // NOTE(rsc): The importObj is a 5c/6c/8c object and on Windows // must be processed before the gcc-generated objects. - // Put it first. http://golang.org/issue/2601 + // Put it first. https://golang.org/issue/2601 outObj = stringList(nonGccObjs, ofile) return outGo, outObj, nil diff --git a/src/cmd/go/vcs.go b/src/cmd/go/vcs.go index 5e7619d1da..ea7dd1c1df 100644 --- a/src/cmd/go/vcs.go +++ b/src/cmd/go/vcs.go @@ -317,7 +317,7 @@ func (v *vcsCmd) run1(dir string, cmdline string, keyval []string, verbose bool) _, err := exec.LookPath(v.cmd) if err != nil { fmt.Fprintf(os.Stderr, - "go: missing %s command. See http://golang.org/s/gogetcmd\n", + "go: missing %s command. See https://golang.org/s/gogetcmd\n", v.name) return nil, err } diff --git a/src/cmd/link/internal/ld/data.go b/src/cmd/link/internal/ld/data.go index ab92b9430f..33f250da48 100644 --- a/src/cmd/link/internal/ld/data.go +++ b/src/cmd/link/internal/ld/data.go @@ -487,7 +487,7 @@ func relocsym(s *LSym) { // On amd64, 4-byte offsets will be sign-extended, so it is impossible to // access more than 2GB of static data; fail at link time is better than - // fail at runtime. See http://golang.org/issue/7980. + // fail at runtime. See https://golang.org/issue/7980. // Instead of special casing only amd64, we treat this as an error on all // 64-bit architectures so as to be future-proof. if int32(o) < 0 && Thearch.Ptrsize > 4 && siz == 4 { diff --git a/src/cmd/link/internal/ld/elf.go b/src/cmd/link/internal/ld/elf.go index 7864d1a68f..cf52f2e1e9 100644 --- a/src/cmd/link/internal/ld/elf.go +++ b/src/cmd/link/internal/ld/elf.go @@ -1668,7 +1668,7 @@ func doelf() { // generate .tbss section (except for OpenBSD where it's not supported) // for dynamic internal linker or external linking, so that various // binutils could correctly calculate PT_TLS size. - // see http://golang.org/issue/5200. + // see https://golang.org/issue/5200. if HEADTYPE != obj.Hopenbsd { if Debug['d'] == 0 || Linkmode == LinkExternal { Addstring(shstrtab, ".tbss") diff --git a/src/cmd/link/internal/ld/macho.go b/src/cmd/link/internal/ld/macho.go index 68531069c3..ccc84915c0 100644 --- a/src/cmd/link/internal/ld/macho.go +++ b/src/cmd/link/internal/ld/macho.go @@ -645,7 +645,7 @@ func machogenasmsym(put func(*LSym, string, int, int64, int64, int, *LSym)) { func machosymorder() { // On Mac OS X Mountain Lion, we must sort exported symbols // So we sort them here and pre-allocate dynid for them - // See http://golang.org/issue/4029 + // See https://golang.org/issue/4029 for i := 0; i < len(dynexp); i++ { dynexp[i].Reachable = true } diff --git a/src/cmd/newlink/pclntab.go b/src/cmd/newlink/pclntab.go index 7f8bf52a9b..0a4cfc9c46 100644 --- a/src/cmd/newlink/pclntab.go +++ b/src/cmd/newlink/pclntab.go @@ -22,7 +22,7 @@ var zerofunc goobj.Func // information during garbage collection. The symbol created is named // "pclntab" for historical reasons; the scope of the table has grown to // include more than just PC/line number correspondences. -// The table format is documented at http://golang.org/s/go12symtab. +// The table format is documented at https://golang.org/s/go12symtab. func (p *Prog) pclntab() { // Count number of functions going into the binary, // so that we can size the initial index correctly. diff --git a/src/cmd/vet/rangeloop.go b/src/cmd/vet/rangeloop.go index 96e2ca8062..11eef59d90 100644 --- a/src/cmd/vet/rangeloop.go +++ b/src/cmd/vet/rangeloop.go @@ -16,7 +16,7 @@ For example: }() } -See: http://golang.org/doc/go_faq.html#closures_and_goroutines +See: https://golang.org/doc/go_faq.html#closures_and_goroutines */ package main |
