commit | 334752dc8207d6d19d9fb1a99d2e97f7d326c82a | [log] [tgz] |
---|---|---|
author | Fazlul Shahriar <fshahriar@gmail.com> | Thu Jun 25 01:15:42 2020 -0400 |
committer | David du Colombier <0intro@gmail.com> | Thu Jun 25 12:02:38 2020 +0000 |
tree | 8424a80e066688f6163a2bf3a7e30358b0f9cb86 | |
parent | 1bb247a469e306c57a5e0eaba788efb8b3b1acef [diff] |
os: return *PathError error in File.Sync on Plan 9 File.Sync was returning *SyscallError instead of *PathError on Plan 9. Adjust the error type to match other systems. Fixes #39800 Change-Id: I844e716eb61c193ef78d29cb0b4a3ef790bb3320 Reviewed-on: https://go-review.googlesource.com/c/go/+/239857 Reviewed-by: David du Colombier <0intro@gmail.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.