vendor: update buildkit to v0.8

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2020-12-07 22:01:24 -08:00
parent 080e9981c7
commit 69a1419ab1
323 changed files with 20129 additions and 8394 deletions

4
vendor/github.com/moby/term/tc.go generated vendored
View File

@ -11,9 +11,9 @@ func tcget(fd uintptr) (*Termios, error) {
if err != nil {
return nil, err
}
return (*Termios)(p), nil
return p, nil
}
func tcset(fd uintptr, p *Termios) error {
return unix.IoctlSetTermios(int(fd), setTermios, (*unix.Termios)(p))
return unix.IoctlSetTermios(int(fd), setTermios, p)
}

View File

@ -7,7 +7,7 @@ import (
)
// Termios is the Unix API for terminal I/O.
type Termios unix.Termios
type Termios = unix.Termios
// MakeRaw puts the terminal connected to the given file descriptor into raw
// mode and returns the previous state of the terminal so that it can be
@ -18,8 +18,7 @@ func MakeRaw(fd uintptr) (*State, error) {
return nil, err
}
var oldState State
oldState.termios = Termios(*termios)
oldState := State{termios: *termios}
termios.Iflag &^= (unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON)
termios.Oflag &^= unix.OPOST