From 378d26f46672a356c46195c28f61bdb4c0a781dd Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 29 Mar 2018 14:30:35 +0200 Subject: [PATCH] unix: add CRTSCTS on netbsd and openbsd Fixes golang/go#8760 Change-Id: Iacb5802ce6256fc5fb61b558f2d0bc0dcf593c96 Reviewed-on: https://go-review.googlesource.com/103355 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- unix/zerrors_netbsd_386.go | 1 + unix/zerrors_netbsd_amd64.go | 1 + unix/zerrors_netbsd_arm.go | 1 + unix/zerrors_openbsd_386.go | 1 + unix/zerrors_openbsd_amd64.go | 1 + unix/zerrors_openbsd_arm.go | 1 + 6 files changed, 6 insertions(+) diff --git a/unix/zerrors_netbsd_386.go b/unix/zerrors_netbsd_386.go index 1612b660..3eef63f5 100644 --- a/unix/zerrors_netbsd_386.go +++ b/unix/zerrors_netbsd_386.go @@ -159,6 +159,7 @@ const ( CLONE_VFORK = 0x4000 CLONE_VM = 0x100 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 diff --git a/unix/zerrors_netbsd_amd64.go b/unix/zerrors_netbsd_amd64.go index c994ab61..40c870be 100644 --- a/unix/zerrors_netbsd_amd64.go +++ b/unix/zerrors_netbsd_amd64.go @@ -159,6 +159,7 @@ const ( CLONE_VFORK = 0x4000 CLONE_VM = 0x100 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 diff --git a/unix/zerrors_netbsd_arm.go b/unix/zerrors_netbsd_arm.go index a8f9efed..43c4add5 100644 --- a/unix/zerrors_netbsd_arm.go +++ b/unix/zerrors_netbsd_arm.go @@ -151,6 +151,7 @@ const ( CFLUSH = 0xf CLOCAL = 0x8000 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 diff --git a/unix/zerrors_openbsd_386.go b/unix/zerrors_openbsd_386.go index 04e4f331..f47536dc 100644 --- a/unix/zerrors_openbsd_386.go +++ b/unix/zerrors_openbsd_386.go @@ -147,6 +147,7 @@ const ( CFLUSH = 0xf CLOCAL = 0x8000 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 diff --git a/unix/zerrors_openbsd_amd64.go b/unix/zerrors_openbsd_amd64.go index c80ff981..c96ca653 100644 --- a/unix/zerrors_openbsd_amd64.go +++ b/unix/zerrors_openbsd_amd64.go @@ -147,6 +147,7 @@ const ( CFLUSH = 0xf CLOCAL = 0x8000 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 diff --git a/unix/zerrors_openbsd_arm.go b/unix/zerrors_openbsd_arm.go index 4c320495..4c027352 100644 --- a/unix/zerrors_openbsd_arm.go +++ b/unix/zerrors_openbsd_arm.go @@ -147,6 +147,7 @@ const ( CFLUSH = 0xf CLOCAL = 0x8000 CREAD = 0x800 + CRTSCTS = 0x10000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200