mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

full diff: https://github.com/creack/pty/compare/v1.1.18...v1.1.21 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
216 B
Go
11 lines
216 B
Go
//go:build !windows && !go1.12
|
|
// +build !windows,!go1.12
|
|
|
|
package pty
|
|
|
|
import "os"
|
|
|
|
func ioctl(f *os.File, cmd, ptr uintptr) error {
|
|
return ioctlInner(f.Fd(), cmd, ptr) // fall back to blocking io (old behavior)
|
|
}
|