diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-12 13:55:02 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-12 13:55:35 -0400 |
| commit | 178d69191ba008dffd70d2854df09cec556b59dd (patch) | |
| tree | bfbe9686e9059c37f3a78f5d5af0f74d7bca4710 /src-self-hosted | |
| parent | 0cfd019377c4e91924d8f57a4c7400a2d62f8751 (diff) | |
| download | zig-178d69191ba008dffd70d2854df09cec556b59dd.tar.gz zig-178d69191ba008dffd70d2854df09cec556b59dd.zip | |
windows: std.fs functions support concurrent ops
when reading and writing the same file descriptors
Diffstat (limited to 'src-self-hosted')
| -rw-r--r-- | src-self-hosted/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-self-hosted/main.zig b/src-self-hosted/main.zig index 6a450030ca..6aa5f067ef 100644 --- a/src-self-hosted/main.zig +++ b/src-self-hosted/main.zig @@ -737,7 +737,7 @@ async fn fmtPath(fmt: *Fmt, file_path_ref: []const u8) FmtError!void { file_path, max_src_size, )) catch |err| switch (err) { - error.IsDir => { + error.IsDir, error.AccessDenied => { // TODO make event based (and dir.next()) var dir = try std.os.Dir.open(fmt.loop.allocator, file_path); defer dir.close(); |
