[PATCH 4/5] mountmgr.sys: Also unlink a:: drive when removing a dos device
Alexandre Goujon
ale.goujon at gmail.com
Mon Aug 29 08:22:30 CDT 2011
---
dlls/mountmgr.sys/device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index a3aa81c..246c61b 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -818,6 +818,7 @@ NTSTATUS remove_dos_device( int letter, const char *udi )
if ((path = get_dosdevices_path( &p )))
{
p[0] = 'a' + drive->drive;
+ unlink( path );
p[2] = 0;
unlink( path );
RtlFreeHeap( GetProcessHeap(), 0, path );
--
1.7.4.1
More information about the wine-patches
mailing list