Colin Davidson
b0eda47b26
prevent infinite-loop on EOF
2023-05-06 17:52:08 -07:00
Colin Davidson
291111e626
oops. define e
2023-05-06 17:23:44 -07:00
Colin Davidson
47693da4aa
Make read_at and write_at more consistent between platforms
2023-05-06 17:14:11 -07:00
gingerBill
986cba584e
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
2023-02-10 16:23:33 +00:00
Jeroen van Rijn
0ca773114a
Fix os.read implementation on Windows.
2022-11-02 16:48:39 +01:00
Peter DV
e58f45bef7
Correct error reporting
2022-06-27 11:26:34 +10:00
Jeroen van Rijn
db8d119cad
Fix Windows os.make_directory.
2022-05-20 19:15:13 +02:00
gingerBill
eef44b11f3
Make the utf16 conversion procedures in core:sys/windows safer by checking for memory leaks
2022-05-12 13:17:58 +01:00
gingerBill
a4d2ff05a9
Merge pull request #1688 from bkrypt/fix_file_windows_open_create_append_order
...
os/file_windows: Fix "create or append" file open behavior
2022-04-05 12:29:20 +01:00
bkrypt
e80bee6867
Change order of O_CREATE & O_APPEND checks
2022-04-02 21:55:01 +02:00
Tetralux
c686133172
Have get_std_handle() no longer make the handles uninheritable
...
This caused all handles returned by GetStdHandle() to also not be inheritable,
which prevents you from handing them to child processes that you might create.
This fixes that.
2022-03-31 17:03:12 +00:00
gingerBill
45124e4d5c
Merge branch 'master' into freestanding_amd64
2022-02-28 12:32:51 +00:00
gingerBill
e9f901b82d
Keep -vet happy
2022-02-25 15:30:24 +00:00
gingerBill
ed3004f8a0
Correct read_console reading
2022-02-25 15:30:05 +00:00
gingerBill
d97df080f9
Revert change
2022-02-25 15:08:02 +00:00
gingerBill
0e5c7e08fc
Change < to <=
2022-02-25 14:54:35 +00:00
gingerBill
47c79a2f25
Correct os.read on windows for os.stdin
2022-02-25 12:02:41 +00:00
gingerBill
32988b0363
Correct internals for os.read on windows (read_console) for os.stdin ( Fix #1556 )
2022-02-25 12:01:53 +00:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
6616882708
Correct reading from a console on Windows
...
e.g. `os.read(os.stdin, buf[:])`
2021-11-27 14:59:35 +00:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
f0437a4242
Enforce core:builtin and core:intrinsics for imports
2021-08-21 13:44:16 +01:00
gingerBill
86649e6b44
Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
2021-06-14 11:15:25 +01:00
Daniel Gavin
c46317c00b
fix os error
2021-04-14 02:20:05 +02:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
0be6ddc7e2
Add -microarch:<string> (e.g. -microarch:native)
2020-10-20 12:25:11 +01:00
gingerBill
519dcc2b76
Add os.read_at and for Windows; fix mem.clone_slice; fix current directory locking code
2020-09-29 11:11:28 +01:00
gingerBill
840af6825a
Update packages os, path, and filepath
2020-09-26 16:02:03 +01:00