Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: linkrot in Windows definition of nanotime1 #45498

Closed
tpaschalis opened this issue Apr 10, 2021 · 2 comments
Closed

runtime: linkrot in Windows definition of nanotime1 #45498

tpaschalis opened this issue Apr 10, 2021 · 2 comments

Comments

@tpaschalis
Copy link
Contributor

@tpaschalis tpaschalis commented Apr 10, 2021

What version of Go are you using (go version)?

$ go version
go version go1.16.2 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/paschalistsilias/go/bin"
GOCACHE="/Users/paschalistsilias/Library/Caches/go-build"
GOENV="/Users/paschalistsilias/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/paschalistsilias/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/paschalistsilias/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/30/kmdf3yr533s_s538b8pj7rtc0000gp/T/go-build571699484=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I was investigating how the current time is fetched in Windows and found some rotten links referencing an implementation detail eg. here

What did you expect to see?

A working link to better understand why the implementation is as-is.

What did you see instead?

404 - not found There is no content available for the given URL. on the target link

@tpaschalis
Copy link
Contributor Author

@tpaschalis tpaschalis commented Apr 10, 2021

Unfortunately, the page was only captured by the Wayback Machine only once in May 11, where it was already rotten.

Other mirrors of the article like here are a dead-end; the only live one I was able to find is this which appears to be from the same source, the 'Windows Research Kernel' at the Hasso-Plattner-Institut.

If there's no objection, I will open a CL to replace all occurences with the live mirror and a link to the archived version.

Loading

@tpaschalis tpaschalis changed the title runtime: Linkrot in Windows definition of nanotime1 runtime: linkrot in Windows definition of nanotime1 Apr 10, 2021
@gopherbot
Copy link

@gopherbot gopherbot commented Apr 11, 2021

Change https://golang.org/cl/308997 mentions this issue: runtime: replace rotten documentation link in Windows' nanotime

Loading

@mknyszek mknyszek added this to the Go1.17 milestone Apr 12, 2021
@gopherbot gopherbot closed this in 5d80f8a Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants