Re: [go-nuts] os.File re-definition

2016-09-04 Thread Sridhar
Ok I'll file an issue to start with. On Sunday, 4 September 2016 18:19:10 UTC+1, bradfitz wrote: > > Yeah, that'd be a fine cleanup. Want to send a change? > > I believe a similar cleanup happened to the net.Conn type a number of > releases ago. > > > > On Sat, Sep 3, 2016 at 3:49 PM, Sridhar >

Re: [go-nuts] os.File re-definition

2016-09-04 Thread Brad Fitzpatrick
Yeah, that'd be a fine cleanup. Want to send a change? I believe a similar cleanup happened to the net.Conn type a number of releases ago. On Sat, Sep 3, 2016 at 3:49 PM, Sridhar wrote: > The os.File type is re-defined across multiple files under src/os for os > specific builds. > > Can this

[go-nuts] os.File re-definition

2016-09-03 Thread Sridhar
The os.File type is re-defined across multiple files under src/os for os specific builds. Can this type definition be moved into src/os/File.go which currently contains the build-agnostic exported methods ? The definition can then be removed from all the individual build specific file_.go