FAQ
i'm still not convinced by the idea behind this. the idea seems
intrinsically too unportable to be elevated to the standard library. i
expect to be outvoted.




https://codereview.appspot.com/6736069/diff/43014/src/pkg/os/executable.go
File src/pkg/os/executable.go (right):

https://codereview.appspot.com/6736069/diff/43014/src/pkg/os/executable.go#newcode7
src/pkg/os/executable.go:7: // Executable returns the absolute pathname
of the current
"the absolute pathname" sounds definitive but is actually not
well-defined.

https://codereview.appspot.com/6736069/diff/43014/src/pkg/os/executable_darwin.go
File src/pkg/os/executable_darwin.go (right):

https://codereview.appspot.com/6736069/diff/43014/src/pkg/os/executable_darwin.go#newcode7
src/pkg/os/executable_darwin.go:7: var progPath string // set by
../runtime/progpath_darwin.c
you've still got some progpaths around, in different casings.

https://codereview.appspot.com/6736069/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 30 of 58 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 23, '12 at 7:04p
activeNov 6, '12 at 7:35p
posts58
users10
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase