-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement more Unix primitives #1829
base: master
Are you sure you want to change the base?
Conversation
Aren't there any test in the ocaml testsuite for theses ? |
59aac2f
to
b80e20e
Compare
Many of them are not tested. I have added a test but it is far from complete. I'll write more. |
341aefd
to
248117f
Compare
@hhugo I have added some tests |
96b17f1
to
d79de32
Compare
if (!src_root.device.link) { | ||
caml_failwith("caml_unix_link: not implemented"); | ||
} | ||
if (typeof follow !== "number") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment explain this ?
//Provides: caml_unix_geteuid | ||
//Alias: unix_geteuid | ||
function caml_unix_geteuid(unit) { | ||
if (globalThis.process && globalThis.process.geteuid) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use ?.
elsewhere
@@ -605,6 +617,17 @@ | |||
(struct.get $channel $fd (local.get $ch)))) | |||
(i64.extend_i32_s (struct.get $channel $curr (local.get $ch)))))) | |||
|
|||
(;ZZZ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to keep this ?
No description provided.