Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(285)

Unified Diff: src/cmd/goyacc/units.y

Issue 4357052: code review 4357052: os: New Open API. (Closed)
Patch Set: diff -r dc1d5042801a https://go.googlecode.com/hg/ Created 12 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/cmd/goyacc/units.y
===================================================================
--- a/src/cmd/goyacc/units.y
+++ b/src/cmd/goyacc/units.y
@@ -299,7 +299,7 @@
file = flag.Arg(0)
}
- f, err := os.Open(file, os.O_RDONLY, 0)
+ f, err := os.Open(file)
if err != nil {
fmt.Fprintf(os.Stderr, "error opening %v: %v\n", file, err)
os.Exit(1)

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b