diff options
author | bors <bors@rust-lang.org> | 2022-12-18 05:04:04 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-18 05:04:04 +0000 |
commit | 48b3c4612681ba7828880aa9e675452c62714bbf (patch) | |
tree | 37dabe79aeb55bb603c8768455128a87ea06632d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | ff016a55c24d061a479f9116f9cd8edc5594eb9e (diff) | |
parent | 9fb7c5ae5e66703240ce4242f55b66a066e0a93c (diff) | |
download | rust-48b3c4612681ba7828880aa9e675452c62714bbf.tar.gz |
Auto merge of #105638 - tavianator:fix-50619-again, r=Mark-Simulacrum
fs: Fix #50619 (again) and add a regression test
Bug #50619 was fixed by adding an end_of_stream flag in #50630.
Unfortunately, that fix only applied to the readdir_r() path. When I
switched Linux to use readdir() in #92778, I inadvertently reintroduced
the bug on that platform. Other platforms that had always used
readdir() were presumably never fixed.
This patch enables end_of_stream for all platforms, and adds a
Linux-specific regression test that should hopefully prevent the bug
from being reintroduced again.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions