From 9f7170bcd8e9f4d3691c06401119c46a769a1e03 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 15 Aug 2017 10:36:29 +0200 Subject: [PATCH] unix: fix definition of AT_FDCWD on dragonfly Follow CL golang.org/cl/55690 (which did the same for syscall) and fix the definition of AT_FDCWD on dragonfly/amd64. Change-Id: I2c44a0f84308697d3dbac9b78c4a3dce973f88ba Reviewed-on: https://go-review.googlesource.com/55691 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- unix/ztypes_dragonfly_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/ztypes_dragonfly_amd64.go b/unix/ztypes_dragonfly_amd64.go index 18afb221..67c6bf88 100644 --- a/unix/ztypes_dragonfly_amd64.go +++ b/unix/ztypes_dragonfly_amd64.go @@ -443,6 +443,6 @@ type Termios struct { } const ( - AT_FDCWD = -0x64 + AT_FDCWD = 0xfffafdcd AT_SYMLINK_NOFOLLOW = 0x1 )