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

Fix #9584 - Using dirEntries and chdir() can still have unwanted results #10669

Closed
wants to merge 11 commits into from

Conversation

0xEAB
Copy link
Member

@0xEAB 0xEAB commented Mar 13, 2025

Unlike #10666, this should fix #9584 properly.

TODO: Eventually, this should have an appropriate test, too.
The one that #10666 copied from #6125 didn't really cut it in the first place AFAICT.

Depends on #10666, #10667 and #10668 as-is.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @0xEAB!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#10669"

@0xEAB 0xEAB force-pushed the direntry-prefix branch from 4150571 to 77aaea0 Compare March 13, 2025 03:28
@0xEAB
Copy link
Member Author

0xEAB commented Mar 13, 2025

It appears to me that DirEntry is a quite unfelicitous abstraction.

@0xEAB 0xEAB force-pushed the direntry-prefix branch from 4a09864 to 84fa21c Compare March 23, 2025 08:11
@0xEAB
Copy link
Member Author

0xEAB commented Mar 23, 2025

See #10706.

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

Successfully merging this pull request may close these issues.

Using dirEntries and chdir() can have unwanted results
2 participants