Enable 'OptimizeDestinationImageAlreadyExists' feature

Signed-off-by: George Jenkins <gjenkins8@bloomberg.net>
This commit is contained in:
George Jenkins
2021-02-24 19:41:57 +13:00
committed by Valentin Rothberg
parent 2c8655e251
commit 61b62f9e93
107 changed files with 3195 additions and 394 deletions

View File

@@ -75,16 +75,3 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
}
return
}
//sysnb pipe2(p *[2]_C_int, flags int) (err error)
func Pipe2(p []int, flags int) error {
if len(p) != 2 {
return EINVAL
}
var pp [2]_C_int
err := pipe2(&pp, flags)
p[0] = int(pp[0])
p[1] = int(pp[1])
return err
}