mirror of
https://github.com/golang/go
synced 2024-11-23 04:10:04 -07:00
syscall: correct TCGETS/TCSETS values on ppc64/ppc64le
Correcting values is allowed per the syscall package rules, so update these constants to their correct value on ppc64/ppc64le. The values now match the corresponding constants in x/sys/unix. Update #19560 Fixes #22000 Change-Id: I1d358de345766ec96e15dfcc8911fe2f39fb0ddb Reviewed-on: https://go-review.googlesource.com/66510 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
97590aea67
commit
197f9ba11d
@ -600,7 +600,7 @@ type Termios struct {
|
||||
const (
|
||||
IUCLC = 0x1000
|
||||
OLCUC = 0x4
|
||||
TCGETS = 0x403c7413
|
||||
TCSETS = 0x803c7414
|
||||
TCGETS = 0x402c7413
|
||||
TCSETS = 0x802c7414
|
||||
XCASE = 0x4000
|
||||
)
|
||||
|
@ -600,7 +600,7 @@ type Termios struct {
|
||||
const (
|
||||
IUCLC = 0x1000
|
||||
OLCUC = 0x4
|
||||
TCGETS = 0x403c7413
|
||||
TCSETS = 0x803c7414
|
||||
TCGETS = 0x402c7413
|
||||
TCSETS = 0x802c7414
|
||||
XCASE = 0x4000
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user