fixing Unix bustage. These were apparently set in xp_file.h but also in a Windows system header

git-svn-id: svn://10.0.0.236/trunk@46029 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dveditz%netscape.com
1999-09-04 20:25:38 +00:00
parent c93f21aa93
commit f892f1b2c4
2 changed files with 7 additions and 7 deletions

View File

@@ -40,11 +40,11 @@ BOOL WIN32_IsMoveFileExBroken()
/* the NT option MOVEFILE_DELAY_UNTIL_REBOOT is broken on
* Windows NT 3.51 Service Pack 4 and NT 4.0 before Service Pack 2
*/
BOOL broken = FALSE;
BOOL broken = PR_FALSE;
OSVERSIONINFO osinfo;
// they *all* appear broken--better to have one way that works.
return TRUE;
return PR_TRUE;
osinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
if (GetVersionEx(&osinfo) && osinfo.dwPlatformId == VER_PLATFORM_WIN32_NT)
@@ -53,7 +53,7 @@ BOOL WIN32_IsMoveFileExBroken()
{
if ( 0 == stricmp(osinfo.szCSDVersion,"Service Pack 4"))
{
broken = TRUE;
broken = PR_TRUE;
}
}
else if ( osinfo.dwMajorVersion == 4 )
@@ -61,7 +61,7 @@ BOOL WIN32_IsMoveFileExBroken()
if (osinfo.szCSDVersion[0] == '\0' ||
(0 == stricmp(osinfo.szCSDVersion,"Service Pack 1")))
{
broken = TRUE;
broken = PR_TRUE;
}
}
}
@@ -105,7 +105,7 @@ PRInt32 DoWindowsReplaceExistingFileStuff(const char* currentName, const char* f
tmpname[len-1] = '~';
tmpname[len] = '\0';
if ( stat(tmpname, &statbuf) != 0 )
nameFound = TRUE;
nameFound = PR_TRUE;
else
len++;
}

View File

@@ -406,7 +406,7 @@ nsInstallFile::RegisterInVersionRegistry()
PRBool
nsInstallFile::CanUninstall()
{
return TRUE;
return PR_TRUE;
}
/* RegisterPackageNode
@@ -416,5 +416,5 @@ nsInstallFile::CanUninstall()
PRBool
nsInstallFile::RegisterPackageNode()
{
return TRUE;
return PR_TRUE;
}