update latest deps

This commit is contained in:
Mechiel Lukkien
2023-09-20 16:52:18 +02:00
parent ca5ef645f3
commit 0d8603f9e1
14 changed files with 138 additions and 24 deletions

View File

@ -549,6 +549,9 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
if err != nil {
return err
}
if (flag&O_NONBLOCK != 0) == nonblocking {
return nil
}
if nonblocking {
flag |= O_NONBLOCK
} else {