diff options
author | Yuval Pavel Zholkover <paulzhol@gmail.com> | 2018-12-29 14:27:15 +0200 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-12-30 19:36:52 +0000 |
commit | 480373c7560cd64e4b6c624d84e9d0de6d72c076 (patch) | |
tree | 58e4897121e409b9db171ac1f1dedb21e52f7427 /src/archive | |
parent | f4f1b14ab497539bc2fd326965c8a4b40bbae49d (diff) | |
download | go-480373c7560cd64e4b6c624d84e9d0de6d72c076.tar.gz go-480373c7560cd64e4b6c624d84e9d0de6d72c076.zip |
syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD
CL 138595 introduced the new names when the hardcoded stat8 definitions was replaced
with a cgo generated one.
Fixes #29393
Updates #22448
Change-Id: I6309958306329ff301c17344b2e0ead0cc874224
Reviewed-on: https://go-review.googlesource.com/c/155958
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/tar/stat_actime1.go | 2 | ||||
-rw-r--r-- | src/archive/tar/stat_actime2.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/tar/stat_actime1.go b/src/archive/tar/stat_actime1.go index eb82edb6d9..cf9cc79c59 100644 --- a/src/archive/tar/stat_actime1.go +++ b/src/archive/tar/stat_actime1.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux dragonfly freebsd openbsd solaris +// +build linux dragonfly openbsd solaris package tar diff --git a/src/archive/tar/stat_actime2.go b/src/archive/tar/stat_actime2.go index f707012714..6f17dbe307 100644 --- a/src/archive/tar/stat_actime2.go +++ b/src/archive/tar/stat_actime2.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin netbsd +// +build darwin freebsd netbsd package tar |