about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-30 00:04:16 +0100
committerGitHub <noreply@github.com>2022-01-30 00:04:16 +0100
commit0d08bbc8c862783581ec61081af79b467ce2d98c (patch)
treeb91a645af7d4a19a0331c4858efb988fdcee5ffa /compiler/rustc_codegen_llvm/src
parent605ffd6113dc49a9b10ea2b5aa6ca41a275bb9ad (diff)
parentd0c8b29ec66e1ddf9a4f722969794f8ebc6f07e7 (diff)
downloadrust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions