diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
| commit | e4fcebe4bf715cf60ccb74f2a03abca995ca608f (patch) | |
| tree | 84b90a922b4b89e00560631abffd56aacd075fb2 /core/os/stream.odin | |
| parent | 51536fecf4859d61d2a0a786eb33ac4f2dc4fb73 (diff) | |
`Empty` -> `Unsupported`bill/io-error-changes
Diffstat (limited to 'core/os/stream.odin')
| -rw-r--r-- | core/os/stream.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/stream.odin b/core/os/stream.odin index 39edc9cd5..f4e9bcdde 100644 --- a/core/os/stream.odin +++ b/core/os/stream.odin @@ -62,7 +62,7 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, case .Size: n, os_err = file_size(fd) case .Destroy: - err = .Empty + err = .Unsupported case .Query: return io.query_utility({.Close, .Flush, .Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Query}) } |