From 24b90391495094f1059cb7b09cf6bcfc790f7fe5 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 13 Jun 2022 15:39:08 -0400 Subject: [PATCH] doc/go1.19: prefer relative links to other parts of the Go website The Go website can be served on more than one domain (for example, go.dev, golang.google.cn, tip.golang.org, localhost:6060, and so on). Use relative links which work in all contexts. For #51400. Updates #53337. Change-Id: I100938981447537ac242b4045929f6db8a2674c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/411974 TryBot-Result: Gopher Robot Reviewed-by: Dmitri Shuralyov Run-TryBot: Dmitri Shuralyov Auto-Submit: Dmitri Shuralyov Reviewed-by: Michael Knyszek --- doc/go1.19.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/go1.19.html b/doc/go1.19.html index 4d7552276f322..df42a427ff1de 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -139,7 +139,7 @@

Runtime

/ GOGC, and will be respected even if GOGC=off, allowing Go programs to always make maximal use of their memory limit, improving resource efficiency - in some cases. See the GC guide for + in some cases. See the GC guide for a detailed guide explaining the soft memory limit in more detail, as well as a variety of common use-cases and scenarios. Please note that small memory limits, on the order of tens of megabytes or less, are less likely to be @@ -277,7 +277,7 @@

PATH lookups

Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. - This removes a common source of security problems + This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for @@ -718,7 +718,7 @@

Minor changes to the library

The methods Value.Len and Value.Cap now successfully operate on a pointer to an array and return the length of that array, - to match what the builtin + to match what the builtin len and cap functions do.