Report invalid whence & offset on os2 Windows
This commit is contained in:
1 parent
de1432b315
commit
56f232e5fc
2 files changed
+5
No files matched your search
@@ -52,6 +52,9 @@ _get_platform_error :: proc() -> Error {
|
||||
case win32.ERROR_INVALID_HANDLE:
|
||||
return .Invalid_File
|
||||
|
||||
case win32.ERROR_NEGATIVE_SEEK:
|
||||
return .Invalid_Offset
|
||||
|
||||
case
|
||||
win32.ERROR_BAD_ARGUMENTS,
|
||||
win32.ERROR_INVALID_PARAMETER,
|
||||
|
||||
Reference in new issue
Block a user