Skip to content

os::list_dir to return only the contents of the directory #2099

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

Merged
merged 1 commit into from
Apr 1, 2012
Merged

os::list_dir to return only the contents of the directory #2099

merged 1 commit into from
Apr 1, 2012

Conversation

jsternberg
Copy link
Contributor

Fixes issue #1919. I don't know what to name the convenience function.

…a vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
brson added a commit that referenced this pull request Apr 1, 2012
os::list_dir to return only the contents of the directory
@brson brson merged commit 252086c into rust-lang:master Apr 1, 2012
@brson
Copy link
Contributor

brson commented Apr 1, 2012

Thanks!

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2022
Breaking posix_memalign precondition is not UB

The `size==0` test here might be overtesting, but I figured might as well test it and leave a comment saying it is fine to remove it if the implementation changes.

Fixes rust-lang#2099
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