From 0e0673713d6975f777723d8b186aa7cf3a26b491 Mon Sep 17 00:00:00 2001 From: ian 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268602 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 63499b36d195..8c57e1634091 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 000000000000..223eb42579fe --- /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.47.2