]> Cypherpunks repositories - gostls13.git/commit
Add an accessor function os.FD.Fd() to get the file
authorIan Lance Taylor <iant@golang.org>
Mon, 26 Jan 2009 19:10:14 +0000 (11:10 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 26 Jan 2009 19:10:14 +0000 (11:10 -0800)
commita01bdb4ae0410f9ff81defbe16461e7efebe2077
tree544a3584031650ba5902d25b7263893d05ff1f20
parent2a4f4dd84234fd12cf40641abc112df97e3c0bec
Add an accessor function os.FD.Fd() to get the file
descriptor.  Use it in the PollServer code.

6g currently accepts this code without this change, but it
should not.  Test case for the bug is bug133.go.

R=rsc
DELTA=10  (0 added, 0 deleted, 10 changed)
OCL=23451
CL=23486
src/lib/net/fd.go
src/lib/os/os_file.go