From 86339f8974514da3005baad28809287f6ffe54a4 Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Thu, 29 Nov 2001 22:49:44 +0000 Subject: [PATCH] Fix for bugzilla 106305: CCK Wizard doesn't check disk space for Linux installer when tarball pack is on a different drive (r=smeredith) git-svn-id: svn://10.0.0.236/trunk@109258 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/ib/ib.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mozilla/cck/ib/ib.cpp b/mozilla/cck/ib/ib.cpp index b3ec575ec3f..1e7b7a297ed 100644 --- a/mozilla/cck/ib/ib.cpp +++ b/mozilla/cck/ib/ib.cpp @@ -1424,14 +1424,11 @@ int StartIB(CString parms, WIDGET *curWidget) if (linuxOption == "Linux") { nscpxpiPath = nscpxpilinuxPath + nsinstPath; - char currentdir[_MAX_PATH]; - _getcwd(currentdir,_MAX_PATH); _mkdir(tempPath); _chdir(tempPath); _mkdir(templinuxDir); _chdir(templinuxDir); _mkdir(nsinstallerDir); - _chdir(nsinstallerDir); CString tPath = nscpxpiPath; tPath.Replace(xpiDir,""); @@ -1446,8 +1443,6 @@ int StartIB(CString parms, WIDGET *curWidget) templinuxPath+"\\xpi\\recommended.start", FALSE); CopyFile(nscpxpiPath+"\\recommended.end", templinuxPath+"\\xpi\\recommended.end", FALSE); - - _chdir(currentdir); } iniSrcPath = nscpxpiPath + "\\config.ini"; //Check for disk space before continuing