[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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user