diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-09 14:21:35 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-09 14:21:35 -0400 |
| commit | c4262da8de025ca0236df9ebb823b727ca3d43fd (patch) | |
| tree | 855c75970e6f82889f71a43e27d79216058b439b /std/io.zig | |
| parent | a4310cf8b4f104802360cb854e2dcc48802301a6 (diff) | |
| download | zig-c4262da8de025ca0236df9ebb823b727ca3d43fd.tar.gz zig-c4262da8de025ca0236df9ebb823b727ca3d43fd.zip | |
implement os.path.real for windows and update allocator interface
Diffstat (limited to 'std/io.zig')
| -rw-r--r-- | std/io.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/io.zig b/std/io.zig index 7ca89d587f..e1f4a818fb 100644 --- a/std/io.zig +++ b/std/io.zig @@ -65,7 +65,7 @@ error SystemFdQuotaExceeded; error NameTooLong; error NoDevice; error PathNotFound; -error NoMem; +error OutOfMemory; error Unseekable; error EndOfFile; error NoStdHandles; @@ -394,7 +394,7 @@ pub const InStream = struct { if (err > 0) { return switch (err) { system.EBADF => error.BadFd, - system.ENOMEM => error.NoMem, + system.ENOMEM => error.OutOfMemory, else => error.Unexpected, } } |
