Fix a bunch of dumb typos and omissions.

This commit is contained in:
athenian200 2019-10-04 04:37:51 -05:00 • committed by Roy Tam
commit cbf60a2058
12 changed files with 12 additions and 12 deletions

View file

@ -1151,7 +1151,7 @@ ResidentPeakDistinguishedAmount(int64_t* aN)
#ifdef XP_MACOSX
*aN = usage.ru_maxrss;
#elif defined(XP_SOLARIS)
*aN = usage.ru.maxrss * getpagesize();
*aN = usage.ru_maxrss * getpagesize();
#else
*aN = usage.ru_maxrss * 1024;
#endif

View file

@ -1607,7 +1607,6 @@ nsLocalFile::IsExecutable(bool* aResult)
return NSRESULT_FOR_ERRNO();
}
#endif
if (*aResult || errno == EACCES) {
if (*aResult || errno == EACCES) {
return NS_OK;
}

View file

@ -56,7 +56,7 @@ if CONFIG['OS_ARCH'] == 'SunOS':
'xptcinvoke_x86_64_unix.cpp',
'xptcstubs_x86_64_linux.cpp'
]
elif CONFIG['OS_TEST'] == 'x86':
elif '86' in CONFIG['OS_TEST']:
SOURCES += [
'xptcinvoke_gcc_x86_unix.cpp',
'xptcstubs_gcc_x86_unix.cpp'