Drop UNIX cwd to / after calculating WINE current directory (to allow
CD unmounts).
This commit is contained in:
parent
96754f5ec6
commit
c895908824
|
@ -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 )) ||
|
||||
|
|
Loading…
Reference in New Issue