mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 13:37:08 +08:00
vendor: github.com/creack/pty v1.1.21
full diff: https://github.com/creack/pty/compare/v1.1.18...v1.1.21 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
10
vendor/github.com/creack/pty/ioctl_legacy.go
generated
vendored
Normal file
10
vendor/github.com/creack/pty/ioctl_legacy.go
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
//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)
|
||||
}
|
Reference in New Issue
Block a user