[PATCH v2] server: Fail if non-empty directory marked for deletion.
cdavis at codeweavers.com
Tue May 26 00:22:36 CDT 2020
May 25, 2020 10:56 PM, "Daniel Lehman" <dlehman25 at gmail.com> wrote:
> v2: use getdents instead of open/closedir
Or, you could dup(2) the fd before passing it to fdopendir(3); then it would work everywhere, not just Linux, and the original fd wouldn't be closed. Though it might be a bit slower than using the raw syscall underlying readdir(3).
More information about the wine-devel