OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libgo: Update to current Go library.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
debug
/
macho
/
file.go
diff --git
a/libgo/go/debug/macho/file.go
b/libgo/go/debug/macho/file.go
index
fd8da94
..
a777d87
100644
(file)
--- a/
libgo/go/debug/macho/file.go
+++ b/
libgo/go/debug/macho/file.go
@@
-159,7
+159,7
@@
func (e *FormatError) String() string {
// Open opens the named file using os.Open and prepares it for use as a Mach-O binary.
func Open(name string) (*File, os.Error) {
- f, err := os.Open(name
, os.O_RDONLY, 0
)
+ f, err := os.Open(name)
if err != nil {
return nil, err
}