]> Cypherpunks repositories - gostls13.git/commit
os: remove ENOTSUP special case in Getwd on darwin
authorTobias Klauser <tklauser@distanz.ch>
Sat, 26 Sep 2020 15:12:14 +0000 (17:12 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 28 Sep 2020 06:28:02 +0000 (06:28 +0000)
commit5755bad42adc23ad4a0c32149ac8cf78ece5d0b0
tree61d38b7eb65d9bf3a38d504ce952175c68efca87
parent8ab020adb27089fa207d015f2f69600ef3d1d307
os: remove ENOTSUP special case in Getwd on darwin

ENOTSUP was used as a signaling error in the custom implementation of
syscall.Getwd to fall back to the slow algorithm. Since CL 257637 Getwd
directly calls the respective function from libSystem.dylib which can no
longer return ENOTSUP.

Change-Id: I8e65e42b3ea069bf78969a29f2af1c55552e2949
Reviewed-on: https://go-review.googlesource.com/c/go/+/257644
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/getwd.go
src/os/getwd_darwin.go [deleted file]