-
Notifications
You must be signed in to change notification settings - Fork 675
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
sys/stat: implement mkdirat #1084
Conversation
7efc042
to
515bee4
Compare
515bee4
to
a844ff0
Compare
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.
You need to wrap that long line and fix the CHANGELOG. Otherwise, it all looks good.
Switched the error condition to ENOTDIR because I suspected the FreeBSD build was failing due to |
a844ff0
to
aab61a4
Compare
aab61a4
to
c006491
Compare
Rebased again...just leaving a comment because I forget if GH sends notifications for force pushes. |
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.
bors r+
1084: sys/stat: implement mkdirat r=asomers a=kevinwern See: https://github.com/CraneStation/wasi-common/issues/16 https://linux.die.net/man/2/mkdirat My first contribution to this repo. Tests were probably overkill... Also, out of curiosity, is there any reason why `mkdir` is located in `unistd`? The documentation I read mentioned the function definition also being located in `sys/stat.h`. Co-authored-by: Kevin Wern <kevin.m.wern@gmail.com>
Build succeeded
|
See: https://github.com/CraneStation/wasi-common/issues/16
https://linux.die.net/man/2/mkdirat
My first contribution to this repo. Tests were probably overkill...
Also, out of curiosity, is there any reason why
mkdir
is located inunistd
? The documentation I read mentioned the function definition also being located insys/stat.h
.