Skip to content

Commit

Permalink
term: unify ioctl{Read,Write}Termios definition for aix, linux, solar…
Browse files Browse the repository at this point in the history
…is & 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 <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
tklauser committed Apr 29, 2021
1 parent f5beecf commit c04ba85
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 36 deletions.
10 changes: 0 additions & 10 deletions term_unix_linux.go

This file was deleted.

6 changes: 3 additions & 3 deletions term_unix_aix.go → term_unix_other.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build aix
// +build aix
//go:build aix || linux || solaris || zos
// +build aix linux solaris zos

package term

Expand Down
10 changes: 0 additions & 10 deletions term_unix_solaris.go

This file was deleted.

13 changes: 0 additions & 13 deletions term_unix_zos.go

This file was deleted.

0 comments on commit c04ba85

Please sign in to comment.