diff options
| author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-12 17:06:13 -0500 |
|---|---|---|
| committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-12 17:17:26 -0500 |
| commit | ba4dd464f5548aa3180dbe1e8144062221d6463d (patch) | |
| tree | 53271b870a3174893668c21ff17a0ddb2acaa7b9 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 37d7de337903a558dbeb1e82c844fe915ab8ff25 (diff) | |
| download | rust-ba4dd464f5548aa3180dbe1e8144062221d6463d.tar.gz rust-ba4dd464f5548aa3180dbe1e8144062221d6463d.zip | |
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 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
