Skip to content
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

AT_FDCWD support. #230

Merged
merged 1 commit into from
Feb 5, 2021
Merged

AT_FDCWD support. #230

merged 1 commit into from
Feb 5, 2021

Conversation

sunfishcode
Copy link
Member

This forward-ports #54 to current main.

@sunfishcode sunfishcode mentioned this pull request Feb 4, 2021
@sunfishcode
Copy link
Member Author

A brief description of what this is:

AT_FDCWD is a special constant in POSIX that can be passed to *at
functions to indicate the current working directory. Since the
current working directory is emulated in wasi libc, add emulated
AT_FDCWD support as well.

Makefile Outdated Show resolved Hide resolved
libc-bottom-half/cloudlibc/src/libc/fcntl/openat.c Outdated Show resolved Hide resolved
AT_FDCWD is a special constant in POSIX that can be passed to *at
functions to indicate the current working directory. Since the
current working directory is emulated in wasi libc, add emulated
AT_FDCWD support as well.

Fixes #42.
@sunfishcode
Copy link
Member Author

The warnings and ifdef changes are now landed as separate chnages, and this is now rebased on top of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants