From 12ebd6294172cc1108bbadab78fea03e890a6da4 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 29 Jan 2013 20:52:43 +0000 Subject: libgo: Update Go library to master revision 15489/921e53d4863c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgo/go/net/fd_plan9.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libgo/go/net/fd_plan9.go') diff --git a/libgo/go/net/fd_plan9.go b/libgo/go/net/fd_plan9.go index 6d7ab388ae7..3462792816e 100644 --- a/libgo/go/net/fd_plan9.go +++ b/libgo/go/net/fd_plan9.go @@ -23,6 +23,12 @@ var canCancelIO = true // used for testing current package func sysInit() { } +func dialTimeout(net, addr string, timeout time.Duration) (Conn, error) { + // On plan9, use the relatively inefficient + // goroutine-racing implementation. + return dialTimeoutRace(net, addr, timeout) +} + func newFD(proto, name string, ctl *os.File, laddr, raddr Addr) *netFD { return &netFD{proto, name, "/net/" + proto + "/" + name, ctl, nil, laddr, raddr} } -- cgit v1.2.1