]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: use fd 100 instead of fd 10 for back-channel communication
authorRuss Cox <rsc@golang.org>
Fri, 4 Dec 2015 20:46:22 +0000 (15:46 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 5 Dec 2015 03:56:23 +0000 (03:56 +0000)
commitb5e2ec8bbe11929a32f621b2bd711a1bea508b8b
treed77ab281eafe5e0959368de09f9c94655e355288
parentcd58f44b203b54ea3125637461d910fc447f0bad
misc/cgo/testcshared: use fd 100 instead of fd 10 for back-channel communication

There is a report that fd 10 is already in use when run on some OS X machines.
I don't see how, and I can't reproduce the problem on my own OS X machine,
but it's easy enough to fix.

Fixes #12161.

Change-Id: I73511bdd91258ecda181d60d2829add746d1198b
Reviewed-on: https://go-review.googlesource.com/17451
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcshared/main2.c
misc/cgo/testcshared/src/libgo2/libgo2.go