Patric Dexheimer
|
b6599a52b5
|
Update process_windows.odin
Mistype
|
2024-10-27 23:27:18 -03:00 |
|
Laytan Laats
|
6bf70b60d6
|
os/os2: add default permissions to write_entire_file
|
2024-10-07 22:31:43 +02:00 |
|
Laytan Laats
|
4b8462aa70
|
os/os2: fix mkdir_all on posix with abs path
|
2024-10-07 22:11:16 +02:00 |
|
Laytan Laats
|
c21e62ddb4
|
reset n before stderr path too
|
2024-10-05 11:26:23 +02:00 |
|
flysand7
|
f61996fd6f
|
Don't append to buffer if nothing was read
|
2024-10-05 11:06:36 +11:00 |
|
Laytan
|
b5f7332ffb
|
Merge pull request #4272 from flysand7/os2-noquote
[os2/process]: Don't quote arguments unless needed
|
2024-10-04 23:12:07 +02:00 |
|
flysand7
|
dad418cf91
|
Remove unused things
|
2024-10-05 07:23:15 +11:00 |
|
Laytan
|
54ffd6df06
|
better error handling
|
2024-10-04 15:08:21 +02:00 |
|
Laytan
|
a3c3e5c822
|
reset err
|
2024-10-04 14:53:16 +02:00 |
|
Laytan
|
cf705d4b29
|
wait instead of kill
|
2024-10-04 14:50:26 +02:00 |
|
Laytan
|
861efa4e54
|
Revert "add some debug logs"
This reverts commit 31ee829b44.
|
2024-10-04 13:58:59 +02:00 |
|
Laytan
|
59086a24a1
|
add .ENOSYS == .Unsupported for posix too
|
2024-10-04 13:52:54 +02:00 |
|
Laytan
|
424dc590a3
|
fix bsds process_open
|
2024-10-04 13:52:44 +02:00 |
|
Laytan
|
31ee829b44
|
add some debug logs
|
2024-10-04 13:40:25 +02:00 |
|
Laytan
|
d9cfe692a9
|
make sure stdout and stderr always point to allocation
|
2024-10-04 13:24:40 +02:00 |
|
Laytan
|
64508e477b
|
add unsupported check in process test
|
2024-10-04 13:24:24 +02:00 |
|
Laytan
|
563ed69c28
|
fix deadlock when in write_errno_to_parent_and_abort state
|
2024-10-04 13:24:14 +02:00 |
|
Laytan Laats
|
386f144cca
|
satisfy -vet
|
2024-10-04 10:54:27 +02:00 |
|
Laytan Laats
|
1d29dfd037
|
kill process if waiting didn't make it exit to avoid a zombie
|
2024-10-04 10:51:40 +02:00 |
|
Laytan Laats
|
ae69f4b749
|
general cleanup
|
2024-10-04 10:50:14 +02:00 |
|
Laytan Laats
|
0b5cd3400f
|
use dynamic array instead of string builder
|
2024-10-04 10:43:38 +02:00 |
|
Laytan Laats
|
77b033cf96
|
kill process if there was an error during reading to not leave a zombie
|
2024-10-04 10:38:47 +02:00 |
|
Laytan Laats
|
7676480526
|
fix temp allocator guard bug
|
2024-10-03 14:39:54 +02:00 |
|
Laytan Laats
|
77780f9ce8
|
fix use-after-free - closing wrong pipe
|
2024-10-03 14:24:00 +02:00 |
|
Laytan Laats
|
76806080ef
|
fix os2.process_exec on non-windows and add a smoke test
|
2024-10-03 13:51:27 +02:00 |
|
flysand7
|
0e446e1d68
|
adjust docs
|
2024-09-29 07:54:29 +11:00 |
|
flysand7
|
d830069e5c
|
[os2/process]: Implement process_exec
|
2024-09-28 11:25:32 +11:00 |
|
flysand7
|
7deb28c810
|
[os2/process]: Unindent doc comments
|
2024-09-28 10:30:54 +11:00 |
|
flysand7
|
842f1ae304
|
Fix indentation issues
|
2024-09-26 07:13:00 +11:00 |
|
flysand7
|
dbad23385d
|
[os2]: Implement pipe_has_data procedure
|
2024-09-24 08:12:21 +11:00 |
|
flysand7
|
ee02d04a9b
|
[os2/process]: Don't quote arguments unless needed
|
2024-09-19 22:38:20 +11:00 |
|
gingerBill
|
6bbeb0a243
|
Merge pull request #4203 from karl-zylinski/file-tags-without-comments
Make tags use #+ syntax instead of //+
|
2024-09-19 12:36:43 +01:00 |
|
Laytan Laats
|
7491b3c332
|
Fix #4265
|
2024-09-18 22:45:27 +02:00 |
|
Karl Zylinski
|
19f0127e55
|
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
|
2024-09-14 18:27:49 +02:00 |
|
pkova
|
0a17525791
|
Remove unused base:runtime from os2/heap_linux.odin
|
2024-09-08 17:25:30 +00:00 |
|
pkova
|
499a5d1f9c
|
Fix os2/heap_linux.odin deadlock
|
2024-09-08 16:47:16 +00:00 |
|
Dan Castrillo
|
54b46247bd
|
fix(os2): mkdir_all on path_posix
|
2024-09-02 08:47:26 -04:00 |
|
gingerBill
|
6ba1506aa9
|
Fix possible leaks in os2.user_* calls
|
2024-08-31 15:12:47 +01:00 |
|
Laytan Laats
|
0f2ad95014
|
Fix EOF detection is os2 window read
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
f453054aff
|
Return 0, nil in all io cases where an empty slice is provided
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
ef99373c31
|
Fix pread and pwrite on os2 Windows
The previous code was jumping ahead by the specified offset, instead of
getting the current offset.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
56f232e5fc
|
Report invalid whence & offset on os2 Windows
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
de1432b315
|
Fix Windows infinite recursion with os2._flush
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
e7d6e2d163
|
Add documentation to os2.close
Make it explicit that using a stream after closing is like a
use-after-free bug.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
3ec4db212b
|
Report Invalid_Whence in os2 Linux seek
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
7683c1f4bb
|
Report Invalid_Whence in os2 POSIX seek
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
ef2cd9d97f
|
Copy missing errors in os2._get_platform_error from posix to linux
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
981a2e1a00
|
Add missing io.Stream_Mode responses
|
2024-08-28 19:53:19 +02:00 |
|
Laytan
|
5e850e24d6
|
os2: disable custom heap allocator
See #4161
|
2024-08-28 19:45:34 +02:00 |
|
gingerBill
|
91f8c626bb
|
Merge pull request #4148 from Feoramund/tls-cleaner
Add API for freeing `thread_local` state
|
2024-08-26 22:37:08 +01:00 |
|