diff options
| author | lithdew <kenta@lithdew.net> | 2021-04-12 17:26:28 +0900 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-04-14 16:40:06 -0700 |
| commit | 81adcd533e168bee9a16f30f690cf72aa99c1eb6 (patch) | |
| tree | 6a735567853932ee1d422e75542e6d82344ff212 /src/main.zig | |
| parent | 5a3ea9beced660c9cc463b921a1581cc07855dd6 (diff) | |
| download | zig-81adcd533e168bee9a16f30f690cf72aa99c1eb6.tar.gz zig-81adcd533e168bee9a16f30f690cf72aa99c1eb6.zip | |
os/posix: handle ECONNRESET for write/writev
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index e5470a8cca..d9ca5da154 100644 --- a/src/main.zig +++ b/src/main.zig @@ -2859,6 +2859,7 @@ const FmtError = error{ Unseekable, NotOpenForWriting, UnsupportedEncoding, + ConnectionResetByPeer, } || fs.File.OpenError; fn fmtPath(fmt: *Fmt, file_path: []const u8, check_mode: bool, dir: fs.Dir, sub_path: []const u8) FmtError!void { |
