From 9fa4b2aa45d3ceec8f13cc6b1415a84d13254018 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 7 Feb 2019 02:22:57 +0000 Subject: [PATCH] internal/syscall/unix: add constants for hurd Patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/161517 From-SVN: r268602 --- gcc/go/gofrontend/MERGE | 2 +- libgo/go/internal/syscall/unix/at_sysnum_hurd.go | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 libgo/go/internal/syscall/unix/at_sysnum_hurd.go diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 63499b36d19..8c57e163409 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -d89db31db68d09aa13a6137122cc096c1d92597b +77f0f28af556f50c561ff5c2cca17ad6f985068e The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/internal/syscall/unix/at_sysnum_hurd.go b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go new file mode 100644 index 00000000000..223eb42579f --- /dev/null +++ b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go @@ -0,0 +1,8 @@ +// Copyright 2019 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package unix + +const AT_REMOVEDIR = 0x200 +const AT_SYMLINK_NOFOLLOW = 0x100 -- 2.30.2