diff options
author | Alexander Rakoczy <alex@golang.org> | 2021-12-09 13:17:40 -0500 |
---|---|---|
committer | Alexander Rakoczy <alex@golang.org> | 2021-12-09 13:17:40 -0500 |
commit | adecd3ffbec722f69dfb5993d25f63aed5305a71 (patch) | |
tree | 11f6c90a5fda64c865ebb270e70a0aa85953b247 /src/syscall/syscall_aix.go | |
parent | c884bd9ef2f1f36a98fa89bb4be07d4f9fe66589 (diff) | |
parent | f1f3923d2e3a0952c698d2901fc052046fa4af3d (diff) | |
download | go-adecd3ffbec722f69dfb5993d25f63aed5305a71.tar.gz go-adecd3ffbec722f69dfb5993d25f63aed5305a71.zip |
[dev.boringcrypto.go1.16] all: merge go1.16.12 into dev.boringcrypto.go1.16
Change-Id: I67a17ce0d561c66c7dc85a69c464e5b4728f232f
Diffstat (limited to 'src/syscall/syscall_aix.go')
-rw-r--r-- | src/syscall/syscall_aix.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/syscall/syscall_aix.go b/src/syscall/syscall_aix.go index 9c6afba442..db289fd39c 100644 --- a/src/syscall/syscall_aix.go +++ b/src/syscall/syscall_aix.go @@ -64,8 +64,10 @@ func Pipe(p []int) (err error) { } var pp [2]_C_int err = pipe(&pp) - p[0] = int(pp[0]) - p[1] = int(pp[1]) + if err == nil { + p[0] = int(pp[0]) + p[1] = int(pp[1]) + } return } |