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

@@ -119,13 +119,16 @@ type attrList struct {
Forkattr uint32
}
//sysnb pipe() (r int, w int, err error)
//sysnb pipe(p *[2]int32) (err error)
func Pipe(p []int) (err error) {
if len(p) != 2 {
return EINVAL
}
p[0], p[1], err = pipe()
var x [2]int32
err = pipe(&x)
p[0] = int(x[0])
p[1] = int(x[1])
return
}