diff options
| author | LeRoyce Pearson <leroycepearson@geemili.xyz> | 2020-03-17 20:53:43 -0600 |
|---|---|---|
| committer | LeRoyce Pearson <leroycepearson@geemili.xyz> | 2020-03-17 20:53:43 -0600 |
| commit | b773a8b175b6be130af2249f267e4113fdbf30ea (patch) | |
| tree | 0ae3b738d90819fc06bc4cad579c9e4d89638aa1 /lib/std/fs | |
| parent | 4532f5ecad23a3478310f159f43d31217c863c35 (diff) | |
| download | zig-b773a8b175b6be130af2249f267e4113fdbf30ea.tar.gz zig-b773a8b175b6be130af2249f267e4113fdbf30ea.zip | |
Make `fcntlFlock` follow conventions of `os.zig`
Diffstat (limited to 'lib/std/fs')
| -rw-r--r-- | lib/std/fs/file.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/fs/file.zig b/lib/std/fs/file.zig index d34c6141d9..454f1e503c 100644 --- a/lib/std/fs/file.zig +++ b/lib/std/fs/file.zig @@ -34,7 +34,7 @@ pub const File = struct { else => 0o666, }; - pub const OpenError = windows.CreateFileError || os.OpenError; + pub const OpenError = windows.CreateFileError || os.OpenError || os.FcntlError; /// TODO https://github.com/ziglang/zig/issues/3802 pub const OpenFlags = struct { |
