diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-30 00:04:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-30 00:04:16 +0100 |
| commit | 0d08bbc8c862783581ec61081af79b467ce2d98c (patch) | |
| tree | b91a645af7d4a19a0331c4858efb988fdcee5ffa /compiler/rustc_mir_transform/src | |
| parent | 605ffd6113dc49a9b10ea2b5aa6ca41a275bb9ad (diff) | |
| parent | d0c8b29ec66e1ddf9a4f722969794f8ebc6f07e7 (diff) | |
| download | rust-0d08bbc8c862783581ec61081af79b467ce2d98c.tar.gz rust-0d08bbc8c862783581ec61081af79b467ce2d98c.zip | |
Rollup merge of #93459 - tavianator:dirent-copy-only-reclen, r=cuviper
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
