In internal/bytealg correct a +build tag to never build indexbyte_generic.go
for the gofrontend, where we always use indexbyte_native.go.
For internal/cpu let the Makefile define CacheLineSize using goarch.sh,
rather than trying to enumerate all the possibilities in cpu_ARCH.go files.
In internal/poll call the C fcntl function rather than using SYS_FCNTL.
Change mksysinfo.sh to ensure that F_GETPIPE_SZ is always defined,
and check that in internal/poll.
Reviewed-on: https://go-review.googlesource.com/137256
From-SVN: r264572
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bytealg.c | Loading commit data... | |
| bytealg.go | Loading commit data... | |
| compare_generic.go | Loading commit data... | |
| compare_native.go | Loading commit data... | |
| count_generic.go | Loading commit data... | |
| count_native.go | Loading commit data... | |
| equal_native.go | Loading commit data... | |
| gccgo.go | Loading commit data... | |
| index_amd64.go | Loading commit data... | |
| index_arm64.go | Loading commit data... | |
| index_generic.go | Loading commit data... | |
| index_native.go | Loading commit data... | |
| index_s390x.go | Loading commit data... | |
| indexbyte_generic.go | Loading commit data... | |
| indexbyte_native.go | Loading commit data... |