[PATCH 4/5] mountmgr.sys: Also unlink a:: drive when removing a dos device

Alexandre Julliard julliard at winehq.org
Wed Aug 31 06:16:47 CDT 2011


Alexandre Goujon <ale.goujon at gmail.com> writes:

> @@ -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 );

That's not done on purpose, to make it more likely that we use the same
drive letter next time the device is mounted.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list