From 4b2882a617df24be5a31a5f9468110849b97b880 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Thu, 16 Sep 1999 10:41:13 +0000 Subject: [PATCH] increase the changes of -installer working on mac tomorrow, by not checking if there is enough space before copying. once we get -installer working on the mac, we'll turn this code back on. --- profile/pref-migrator/src/nsPrefMigration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile/pref-migrator/src/nsPrefMigration.cpp b/profile/pref-migrator/src/nsPrefMigration.cpp index b383c1e021d8..69fc841d4722 100644 --- a/profile/pref-migrator/src/nsPrefMigration.cpp +++ b/profile/pref-migrator/src/nsPrefMigration.cpp @@ -334,7 +334,7 @@ nsPrefMigration::ProcessPrefs(const char* oldProfilePathStr, const char * newPro nsFileSpec oldProfilePath(oldProfilePathStr); /* nsFileSpec version of the profile's 4.x root dir */ nsFileSpec newProfilePath(newProfilePathStr); /* Ditto for the profile's new 5.x root dir */ -#ifdef XP_UNIX +#if defined(XP_UNIX) || defined(XP_MAC) printf("TODO: port the code that checks for space before copying.\n"); #else PRUint32 totalMailSize = 0, @@ -474,7 +474,7 @@ nsPrefMigration::ProcessPrefs(const char* oldProfilePathStr, const char * newPro PR_FREEIF(profile_hd_name); PR_FREEIF(mail_hd_name); PR_FREEIF(news_hd_name); -#endif /* XP_UNIX */ +#endif /* XP_UNIX || XP_MAC */ PRBool needToRenameFilterFiles; if (PL_strcmp(MAIL_FILTER_FILE_NAME_IN_4x,MAIL_FILTER_FILE_NAME_IN_5x)) {