[OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 1, changes to OS/2 only core code. r=abwillis1, sr=mkaply

This commit is contained in:
mozilla@weilbacher.org
2006-12-10 08:53:03 +00:00
parent 460055136d
commit aa85bd4a8a
5 changed files with 67 additions and 2 deletions

View File

@@ -2113,7 +2113,14 @@ nsLocalFile::IsExecutable(PRBool *_retval)
return NS_OK;
// upper-case the extension, then see if it claims to be an executable
#ifdef MOZ_OS2_HIGH_MEMORY
// WinUpper() cannot be used because it crashes with high memory.
// strupr() does not take into account non-ASCII characters but this is
// irrelevant for the possible extensions below
strupr(ext);
#else
WinUpper(0, 0, 0, ext);
#endif
if (strcmp(ext, ".EXE") == 0 ||
strcmp(ext, ".CMD") == 0 ||
strcmp(ext, ".COM") == 0 ||