Skip to content

Commit

Permalink
Auto merge of rust-lang#105638 - tavianator:fix-50619-again, r=Mark-S…
Browse files Browse the repository at this point in the history
…imulacrum

fs: Fix rust-lang#50619 (again) and add a regression test

Bug rust-lang#50619 was fixed by adding an end_of_stream flag in rust-lang#50630.
Unfortunately, that fix only applied to the readdir_r() path.  When I
switched Linux to use readdir() in rust-lang#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.
  • Loading branch information
bors committed Dec 18, 2022
2 parents 116368e + 67f1ae3 commit 72100eb
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 72100eb

Please sign in to comment.