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

glob: Scan current directory for first component pattern #162

Merged
merged 3 commits into from
Jun 25, 2022
Merged

Conversation

magicant
Copy link
Owner

In the previous implementation, echo * prints filenames in the root directory (/) rather than in the current directory (.). This PR fixes it.

Currently, the working directory is hard-coded to be the root directory.
The opendir function now depends on the open function, which resolves
relative paths.

The opendir and fdopendir functions now require a mutable self reference
because the open function requires it.
@magicant magicant self-assigned this Jun 25, 2022
@magicant magicant mentioned this pull request Jun 25, 2022
6 tasks
@magicant magicant merged commit 1b58e66 into master Jun 25, 2022
@magicant magicant deleted the glob branch June 25, 2022 15:33
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.

None yet

1 participant