]> Cypherpunks repositories - gostls13.git/commitdiff
os: add period at end of O_EXCL comment
authorTim Cooper <tim.cooper@layeh.com>
Tue, 17 Oct 2017 23:00:55 +0000 (20:00 -0300)
committerIan Lance Taylor <iant@golang.org>
Tue, 17 Oct 2017 23:30:52 +0000 (23:30 +0000)
Change-Id: I9d723e49bf2cabf97a09e29e46fd2c426845fd1d
Reviewed-on: https://go-review.googlesource.com/71470
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/file.go

index 4b4d8fb0367158ab1f3cfa94b9e2e1eb42f0c3c9..cf621d1c872ed96404df4a53671e19b5e9d8004b 100644 (file)
@@ -66,7 +66,7 @@ const (
        O_RDWR   int = syscall.O_RDWR   // open the file read-write.
        O_APPEND int = syscall.O_APPEND // append data to the file when writing.
        O_CREATE int = syscall.O_CREAT  // create a new file if none exists.
-       O_EXCL   int = syscall.O_EXCL   // used with O_CREATE, file must not exist
+       O_EXCL   int = syscall.O_EXCL   // used with O_CREATE, file must not exist.
        O_SYNC   int = syscall.O_SYNC   // open for synchronous I/O.
        O_TRUNC  int = syscall.O_TRUNC  // if possible, truncate file when opened.
 )