[Bug 46454] Minimalistic C++ program removing non-empty directory is not working

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 13 11:51:49 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46454

Fabian Maurer <dark.shadow4 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|-unknown                    |ntdll
                 CC|                            |dark.shadow4 at web.de
     Ever confirmed|0                           |1

--- Comment #1 from Fabian Maurer <dark.shadow4 at web.de> ---
Confirming. Problem here is that SetFileInformationByHandle with
FileDispositionInfo on a non-empty directory must return FALSE with error code
ERROR_DIR_NOT_EMPTY.

Problem is either in kernel32 or ntdll, I assume it's the latter.

My problem here is how to check if it's an empty directory. I'd usually use
FindNextFile, but since the directory is already opened (exclusively) at this
point, this isn't feasible.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list