avanspector
0a985f5d02
Haiku: small fixes across core
2025-01-10 07:07:40 +01:00
avanspector
a20d85df1e
Fix os_haiku.odin (again)
2024-12-21 17:15:53 +01:00
avanspector
5376d2a20b
fix haiku
2024-12-20 17:19:04 +01:00
Colin Davidson
4c8e355444
tweaks per laytan suggestions
2024-10-10 09:14:29 -07:00
Feoramund
6aedb2695a
Report Invalid_Whence on some os platforms
...
- Move `Seek`-related checks into OS-specific files for granularity.
Platforms:
- Darwin
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
2024-08-28 19:53:20 +02:00
Feoramund
0243647e15
Add missing flush functionality to os platforms
...
Platforms:
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
2024-08-28 19:53:20 +02:00
Feoramund
6c4806835c
Fix indentation
2024-08-28 19:53:20 +02:00
Feoramund
e1555e04ad
Fix Haiku implementations of read_at and write_at
2024-08-28 19:53:20 +02:00
Laytan Laats
f7d7d65bc0
fix open bindings
...
`open` specifies the `mode` argument as vararg (presumably to make it
optional). varargs actually have rules about casting, in this case the
rule that any integer arg of size <= 4 has to be casted to `i32` before
passing it.
Not doing that implicit cast makes the permissions wrong or not apply at
all.
2024-08-16 22:54:53 +02:00
gingerBill
c078b2dd1b
Add @(require_results)
2024-08-04 15:24:26 +01:00
gingerBill
bf948ab8ae
Add stubs for flush on platforms that didn't have it
2024-08-04 15:07:24 +01:00
gingerBill
b67817517e
Fix replace typo
2024-08-04 14:46:32 +01:00
gingerBill
7663a2036a
Add read_at/write_at to missing platforms
2024-08-04 13:16:37 +01:00
gingerBill
bdbbbf5c95
Fix typo; remove unneeded casts
2024-08-04 12:39:21 +01:00
gingerBill
97c499dbb4
Begin mapping os.Error in the rest of the codebase
2024-08-04 11:58:04 +01:00
gingerBill
28666414bc
More clean ups of ERROR_NONE and != nil usage
2024-08-04 11:37:49 +01:00
gingerBill
29b6eebcd5
Clean up error handling
2024-08-04 11:21:09 +01:00
gingerBill
9f9abb8fb3
Use union #shared_nil for os.Error
2024-08-04 11:05:30 +01:00
gingerBill
e60951a902
Begin converting os.Errno to be a nil-able type as a transition period
2024-08-04 10:51:08 +01:00
avanspector
290ada7f90
add exit to core:os
2024-02-28 22:43:55 +01:00
avanspector
9d4c2ba0d8
fix haiku
2024-02-26 07:43:10 +01:00
avanspector
31d7ef5696
Update os_haiku.odin
2024-02-26 06:16:13 +01:00
avanspector
8c621453ae
update sys/haiku
2024-02-26 06:13:54 +01:00
avanspector
c712af3bc2
Update os_haiku.odin
2024-02-26 04:54:21 +01:00
avanspector
f0a89f8d5d
add sys/haiku
2024-02-26 04:41:30 +01:00
avanspector
9b839621a9
Update os_haiku.odin
2024-02-25 18:49:42 +01:00
avanspector
66456714e1
update pthread
2024-02-25 18:45:00 +01:00
avanspector
fc8e5b8a61
Update os_haiku.odin
2024-02-25 18:31:14 +01:00
avanspector
05cfc89283
fix core:os
2024-02-25 18:20:03 +01:00
avanspector
dc5cf23066
add haiku to unix
2024-02-25 16:50:04 +01:00
avanspector
2e80879e88
Update os_haiku.odin
2024-02-25 16:24:50 +01:00
avanspector
c3746d9f56
fix core and libc
2024-02-25 03:32:35 +01:00