Commit c8959088 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Drop UNIX cwd to / after calculating WINE current directory (to allow

CD unmounts).
parent 96754f5e
......@@ -90,6 +90,7 @@ int DIR_Init(void)
DRIVE_SetCurrentDrive( drive );
DRIVE_Chdir( drive, cwd );
}
chdir("/"); /* every other directory operations are done by WINE */
if (!(DIR_GetPath( "windows", "c:\\windows", &DIR_Windows )) ||
!(DIR_GetPath( "system", "c:\\windows\\system", &DIR_System )) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment