From: Tim Cooper Date: Tue, 17 Oct 2017 23:00:55 +0000 (-0300) Subject: os: add period at end of O_EXCL comment X-Git-Tag: go1.10beta1~677 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5d168a90d907f872bd5dd6eaa11884035d19c328;p=gostls13.git os: add period at end of O_EXCL comment Change-Id: I9d723e49bf2cabf97a09e29e46fd2c426845fd1d Reviewed-on: https://go-review.googlesource.com/71470 Reviewed-by: Ian Lance Taylor --- diff --git a/src/os/file.go b/src/os/file.go index 4b4d8fb036..cf621d1c87 100644 --- a/src/os/file.go +++ b/src/os/file.go @@ -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. )