Dmitri Shuralyov
1bfbee0e20
all: update go directive to 1.18
...
Done with:
go get go@1.18
go mod tidy
go fix ./...
Using go1.21.3.
Also update code generators to use only the new go:build lines,
not the old +build ones.
For golang/go#60268 .
Change-Id: I6aabc42efb6ab3329981100e1db2263aac5e92a6
Reviewed-on: https://go-review.googlesource.com/c/sys/+/534222
Reviewed-by: Ian Lance Taylor <iant@google.com >
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com >
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org >
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com >
2023-10-11 21:54:30 +00:00
Tobias Klauser
1e9f34104d
unix: add //go:build line to gccgo_c.c
...
Change-Id: I425df52458cc53afb986a260a41d0b638bd5e6e8
Reviewed-on: https://go-review.googlesource.com/c/sys/+/460157
Reviewed-by: Ian Lance Taylor <iant@google.com >
Reviewed-by: Heschi Kreinick <heschi@google.com >
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com >
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gopher Robot <gobot@golang.org >
2023-01-05 18:34:21 +00:00
Samuel Thibault
b360406616
unix: support TIOCGETA on GNU/Hurd
...
Add minimal support for GNU/Hurd to allow building third party packages
which detect terminal support.
Change-Id: Ia13fe8e9e4880e8ab062f9a2efb581320637f017
GitHub-Last-Rev: f612efbe7da35f618d1bd498a215f4b9da9c4f53
GitHub-Pull-Request: golang/sys#144
Reviewed-on: https://go-review.googlesource.com/c/sys/+/459895
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com >
Auto-Submit: Ian Lance Taylor <iant@google.com >
Run-TryBot: Ian Lance Taylor <iant@google.com >
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com >
Reviewed-by: Ian Lance Taylor <iant@google.com >
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gopher Robot <gobot@golang.org >
2022-12-31 00:01:51 +00:00
Ian Lance Taylor
fdedc70b46
unix: use package path in name of C functions
...
For onsi/ginkgo#725
Change-Id: Iff5f98cb85aabd9c675c0519c30009ed96c2f6be
Reviewed-on: https://go-review.googlesource.com/c/sys/+/258358
Trust: Ian Lance Taylor <iant@golang.org >
Reviewed-by: Than McIntosh <thanm@google.com >
2020-09-30 18:57:26 +00:00
Tony Reix
d99a578cf4
unix: code for AIX ppc and ppc64, for gccgo
...
Change-Id: I187edceaf3604d73110940bd5580fa127a85e87d
Reviewed-on: https://go-review.googlesource.com/129735
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com >
2018-08-28 06:51:06 +00:00
Tobias Klauser
7c1e4f34a3
unix: drop use function stub for gccgo
...
The calls to use were removed in CL 36715.
Change-Id: I9f664d57e2595e932d702fdf6318d377e93e428a
Reviewed-on: https://go-review.googlesource.com/117455
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2018-06-10 12:29:00 +00:00
Tamir Duberstein
d38bf781f1
unix: restore gccgo support
...
Initially added in https://golang.org/cl/9842 and
subsequently broken in https://golang.org/cl/85756 .
Fixes golang/go#23361
Change-Id: Id458efdb4a9ffc5f038b4070fd514de9f78c17d7
Reviewed-on: https://go-review.googlesource.com/86755
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2018-01-09 00:06:53 +00:00
Tobias Klauser
9e4fff1f4d
all: single space after period
...
Follow CL 20022 and consistently use single space after a period in
documentation.
Generated with:
$ perl -i -npe 's,^(\s*// .+[a-z]\.) +([A-Z]),$1 $2,' $(git grep -l -E '^\s*//(.+\.) +([A-Z])')
Change-Id: Ia29ad823668f060e81293e848a79fc4b4857d94b
Reviewed-on: https://go-review.googlesource.com/73530
Reviewed-by: Ian Lance Taylor <iant@golang.org >
Run-TryBot: Ian Lance Taylor <iant@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
2017-10-25 20:39:07 +00:00
Ian Lance Taylor
b65462c961
unix: add Syscall9 for gccgo
...
I meant to do this earlier but forget to "git add".
Change-Id: I14b777b5b9fa5b121809c5821719da3ec4a5e0ce
Reviewed-on: https://go-review.googlesource.com/9960
Reviewed-by: Minux Ma <minux@golang.org >
Reviewed-by: Rob Pike <r@golang.org >
2015-05-12 03:04:57 +00:00
Ian Lance Taylor
e11762ca30
unix: add gccgo support
...
With these changes the package builds, and the tests pass, using gccgo
on amd64 GNU/Linux. I have not tested other systems but I don't know
why they wouldn't work.
Change-Id: I727365daef55f158657eb89afbfcdbf3334610d1
Reviewed-on: https://go-review.googlesource.com/9842
Reviewed-by: Minux Ma <minux@golang.org >
Reviewed-by: Rob Pike <r@golang.org >
2015-05-07 23:38:20 +00:00