Skip to content

Commit c04ba85

Browse files
committed
term: unify ioctl{Read,Write}Termios definition for aix, linux, solaris & zos
These all use TCGETS/TCSETS. Rather than having a term_unix_$GOOS.go file for each platform, unify them in a single file. Change-Id: Iefeeadf9cf53d8fa32b1b15b8169744a819565c8 Reviewed-on: https://go-review.googlesource.com/c/term/+/314231 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent f5beecf commit c04ba85

File tree

4 files changed

+3
-36
lines changed

4 files changed

+3
-36
lines changed

term_unix_linux.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

term_unix_aix.go renamed to term_unix_other.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Copyright 2019 The Go Authors. All rights reserved.
1+
// Copyright 2021 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build aix
6-
// +build aix
5+
//go:build aix || linux || solaris || zos
6+
// +build aix linux solaris zos
77

88
package term
99

term_unix_solaris.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

term_unix_zos.go

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)