From c8959088242e1884c9581633b2ae5c4916e2c44a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 16 Jul 2000 14:38:53 +0000 Subject: [PATCH] Drop UNIX cwd to / after calculating WINE current directory (to allow CD unmounts). --- files/directory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/files/directory.c b/files/directory.c index 4280f204460..546500d8685 100644 --- a/files/directory.c +++ b/files/directory.c @@ -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 )) || -- 2.11.4.GIT