NTDLL: Fix NtDeleteFile to allow deleting directories

Mike McCormack mike at codeweavers.com
Wed Jan 25 01:34:16 CST 2006


ChangeLog:
Fix NtDeleteFile to allow deleting directories.
Reimplement RemoveDirectory using NtDeleteFile.
Add a test for NtDeleteFile.

  dlls/kernel/path.c           |   13 +---
  dlls/ntdll/file.c            |    7 +-
  dlls/ntdll/tests/Makefile.in |    1
  dlls/ntdll/tests/change.c    |    2 -
  dlls/ntdll/tests/file.c      |  151 
++++++++++++++++++++++++++++++++++++++++++
  server/fd.c                  |   12 +++
  6 files changed, 171 insertions(+), 15 deletions(-)
  create mode 100644 dlls/ntdll/tests/file.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: c82263e5a41181892d8967c2b0625b9032319a2a.diff
Type: text/x-patch
Size: 10378 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060125/3cdb6580/c82263e5a41181892d8967c2b0625b9032319a2a-0001.diff


More information about the wine-patches mailing list