From 35a1aa042082623858531bb7928a1a29b00559a0 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Wed, 13 Jun 2012 16:24:26 -0400 Subject: [PATCH] [release-branch.go1] net: fix comment on FileListener MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ««« backport 3dfcac5f8254 net: fix comment on FileListener R=rsc CC=golang-dev https://golang.org/cl/6242067 »»» --- src/pkg/net/file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/net/file.go b/src/pkg/net/file.go index c95d16d64e7..fc6c6fad8e1 100644 --- a/src/pkg/net/file.go +++ b/src/pkg/net/file.go @@ -89,8 +89,8 @@ func FileConn(f *os.File) (c Conn, err error) { // FileListener returns a copy of the network listener corresponding // to the open file f. It is the caller's responsibility to close l -// when finished. Closing c does not affect l, and closing l does not -// affect c. +// when finished. Closing l does not affect f, and closing f does not +// affect l. func FileListener(f *os.File) (l Listener, err error) { fd, err := newFileFD(f) if err != nil {