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

CD unmounts).
This commit is contained in:
Marcus Meissner 2000-07-16 14:38:53 +00:00 committed by Alexandre Julliard
parent 96754f5ec6
commit c895908824
1 changed files with 1 additions and 0 deletions

View File

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