Commit 1d40e2b1 authored by Muhammed Uluyol's avatar Muhammed Uluyol Committed by Brad Fitzpatrick

Rewrite leftover references to plan9.bell-labs.com to 9p.io.

Change-Id: Iadb4aa016a7b361d01827787dbc59164d5d147f2
Reviewed-on: https://go-review.googlesource.com/20291Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 786a2ef3
...@@ -15,7 +15,7 @@ It is largely transliterated from the Inferno version written in Limbo ...@@ -15,7 +15,7 @@ It is largely transliterated from the Inferno version written in Limbo
which in turn was largely transliterated from the Plan 9 version which in turn was largely transliterated from the Plan 9 version
written in C and documented at written in C and documented at
http://plan9.bell-labs.com/magic/man2html/1/yacc https://9p.io/magic/man2html/1/yacc
Adepts of the original yacc will have no trouble adapting to this Adepts of the original yacc will have no trouble adapting to this
form of the tool. form of the tool.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package gosym package gosym
// The table format is a variant of the format used in Plan 9's a.out // The table format is a variant of the format used in Plan 9's a.out
// format, documented at http://plan9.bell-labs.com/magic/man2html/6/a.out. // format, documented at https://9p.io/magic/man2html/6/a.out.
// The best reference for the differences between the Plan 9 format // The best reference for the differences between the Plan 9 format
// and the Go format is the runtime source, specifically ../../runtime/symtab.c. // and the Go format is the runtime source, specifically ../../runtime/symtab.c.
......
...@@ -89,7 +89,7 @@ func printPlan9(w io.Writer) { ...@@ -89,7 +89,7 @@ func printPlan9(w io.Writer) {
fmt.Fprintln(w, "// of continuous tones.") fmt.Fprintln(w, "// of continuous tones.")
fmt.Fprintln(w, "//") fmt.Fprintln(w, "//")
fmt.Fprintln(w, "// This palette was used in the Plan 9 Operating System, described at") fmt.Fprintln(w, "// This palette was used in the Plan 9 Operating System, described at")
fmt.Fprintln(w, "// http://plan9.bell-labs.com/magic/man2html/6/color") fmt.Fprintln(w, "// https://9p.io/magic/man2html/6/color")
fmt.Fprintln(w, "var Plan9 = []color.Color{") fmt.Fprintln(w, "var Plan9 = []color.Color{")
for _, line := range lines { for _, line := range lines {
fmt.Fprintln(w, line) fmt.Fprintln(w, line)
......
...@@ -19,7 +19,7 @@ import "image/color" ...@@ -19,7 +19,7 @@ import "image/color"
// of continuous tones. // of continuous tones.
// //
// This palette was used in the Plan 9 Operating System, described at // This palette was used in the Plan 9 Operating System, described at
// http://plan9.bell-labs.com/magic/man2html/6/color // https://9p.io/magic/man2html/6/color
var Plan9 = []color.Color{ var Plan9 = []color.Color{
color.RGBA{0x00, 0x00, 0x00, 0xff}, color.RGBA{0x00, 0x00, 0x00, 0xff},
color.RGBA{0x00, 0x00, 0x44, 0xff}, color.RGBA{0x00, 0x00, 0x44, 0xff},
......
...@@ -80,7 +80,7 @@ const ( ...@@ -80,7 +80,7 @@ const (
// //
// See also Rob Pike, ``Lexical File Names in Plan 9 or // See also Rob Pike, ``Lexical File Names in Plan 9 or
// Getting Dot-Dot Right,'' // Getting Dot-Dot Right,''
// http://plan9.bell-labs.com/sys/doc/lexnames.html // https://9p.io/sys/doc/lexnames.html
func Clean(path string) string { func Clean(path string) string {
originalPath := path originalPath := path
volLen := volumeNameLen(path) volLen := volumeNameLen(path)
......
...@@ -65,7 +65,7 @@ func (b *lazybuf) string() string { ...@@ -65,7 +65,7 @@ func (b *lazybuf) string() string {
// //
// See also Rob Pike, ``Lexical File Names in Plan 9 or // See also Rob Pike, ``Lexical File Names in Plan 9 or
// Getting Dot-Dot Right,'' // Getting Dot-Dot Right,''
// http://plan9.bell-labs.com/sys/doc/lexnames.html // https://9p.io/sys/doc/lexnames.html
func Clean(path string) string { func Clean(path string) string {
if path == "" { if path == "" {
return "." return "."
......
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