CiD-
88de3a1c06
add _chtimes
2022-04-01 22:41:35 -04: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
CiD-
6456618891
finish up stat, lstat and fstat
2022-03-30 16:54:29 -04:00
gingerBill
4eb4ae6305
Replace sync with sync2
2022-03-30 17:42:44 +01:00
Jeroen van Rijn
df32b5b46c
[windows] Fix leak in glob.
2022-03-29 16:13:17 +02:00
CiD-
e252d3bedf
add os2.name
2022-03-23 11:49:19 -04:00
CiD-
36c22393a4
fix memory leak
2022-03-15 11:47:35 -04:00
CiD-
6d6e840bc2
mkdir_all: WHOOPS
2022-03-14 15:56:41 -04:00
CiD-
4b1822ade8
mkdir_all: close last open file
2022-03-14 15:48:47 -04:00
CiD-
b21e7e4518
rewrite mkdir_all
2022-03-14 15:44:34 -04:00
CiD-
1f4e5e919f
merge upstream/master
2022-03-14 13:36:22 -04:00
CiD-
c293e88f2e
commit to merge upstream/master
2022-03-14 13:34:06 -04:00
gingerBill
633157f4f8
Merge pull request #1613 from semarie/linux_arm64
...
fix Linux arm64 support
2022-03-14 11:37:45 +00:00
gingerBill
fc0291d745
Merge pull request #1526 from odin-lang/freestanding_amd64
...
Freestanding target for amd64
2022-03-14 11:09:52 +00:00
gingerBill
a7adb2fb6e
Merge branch 'master' into freestanding_amd64
2022-03-14 11:02:59 +00:00
Sébastien Marie
036900da51
fix mode_t on darwin
...
- fix mkdir() prototype (mode_t is u16)
- remove explicit cast
2022-03-13 12:41:03 +00:00
Sébastien Marie
ca67cf032c
freebsd_amd64 support
2022-03-13 11:42:42 +00:00
Sébastien Marie
8982ae34e3
fix linux_arm64
...
- SYS_fork doesn't exist, uses SYS_clone
- properly cast AT_FDCWD to uintptr
2022-03-12 09:19:52 +00:00
gingerBill
e6d3e893a5
Merge pull request #1602 from hoanga/freebsd-build-support
...
update to build for freebsd
2022-03-12 08:45:53 +00:00
Jason Kercher
0b61215f7b
getting tests to run
2022-03-10 11:12:06 -05:00
Jason Kercher
b91c0ec715
Merge remote-tracking branch 'upstream/master' into os2_linux
2022-03-10 09:34:48 -05:00
gingerBill
6d1a91f5b3
Fix typo
2022-03-09 15:11:38 +00:00
gingerBill
17eebf338c
Fix #1606 (Call runtime._cleanup_runtime_contextless() for os.exit)
2022-03-09 15:05:51 +00:00
Al Hoang
0278ac85a0
update to build for FreeBSD
2022-03-08 23:48:25 -06:00
CiD-
832003dd4b
os2 tests
2022-03-08 17:15:45 -05:00
gingerBill
31959b0751
Correct cleanpath_from_handle for os.fstat
2022-03-08 10:01:44 +00:00
jasonkercher
1f19610fd6
added _remove_all
2022-03-07 17:16:03 -05:00
jasonkercher
658a605c75
compiles
2022-03-04 17:11:53 -05:00
CiD-
e51bb4ef12
os2 linux begin
2022-03-03 10:16:36 -05:00
gingerBill
dd9843aa21
Merge pull request #1557 from semarie/openbsd-support
...
initial OpenBSD support
2022-02-28 14:23:56 +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
376906e0ae
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-25 12:02:49 +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
Sébastien Marie
5676c9e7eb
initial OpenBSD support
2022-02-25 08:49:25 +00:00
Jeroen van Rijn
3a469dc13e
Merge pull request #1549 from semarie/clone_to_cstring-leak
...
delete allocated memory with clone_to_cstring
2022-02-24 12:42:15 +01:00
Sébastien Marie
d3c70f2206
remove the optional ; in os_freebsd.odin
2022-02-24 11:30:33 +00:00
Sébastien Marie
14f1793b3e
use context.temp_allocator instead of general allocation + delete()
...
where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
2022-02-24 11:28:42 +00:00
Colin Davidson
aeaf1199ec
Add make_directory so darwin can build html docs
2022-02-24 01:13:51 -08:00
gingerBill
6630d703f8
Clean up ok or error handling
2022-02-21 13:42:29 +00:00
gingerBill
9c3cdc4620
Start filling in the file_windows.odin procedures
2022-02-21 13:38:25 +00:00
gingerBill
345032f804
Get env stuff working on Windows
2022-02-21 12:35:52 +00:00
Colin Davidson
54a6637d38
Use the _unix_fstat pointer to avoid 144B copies on fileIO
2022-02-18 20:50:49 -08:00
Colin Davidson
536bf61323
avoid memset on stats
2022-02-16 08:14:11 -08:00
Jeroen van Rijn
855e7beab1
Merge pull request #1488 from colrdavidson/master
...
Add fork and personality
2022-02-15 21:04:09 +01:00
gingerBill
d695a8a526
Update os_darwin.odin
2022-02-15 16:02:14 +00:00