rust/library/std
Tavian Barnes f8f4c40527 fs: Don't copy d_name from struct dirent
The dirent returned from readdir() is only guaranteed to be valid for
d_reclen bytes on common platforms.  Since we copy the name separately
anyway, we can copy everything except d_name into DirEntry::entry.

Fixes #93384.
2022-01-29 16:37:21 -05:00
..
benches
primitive_docs
src fs: Don't copy d_name from struct dirent 2022-01-29 16:37:21 -05:00
tests
build.rs
Cargo.toml Auto merge of #93351 - anp:fuchsia-remove-dir-all, r=tmandry 2022-01-29 09:01:01 +00:00