mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Fix a bunch of dumb typos and omissions.
This commit is contained in:
parent
7a5928ca08
commit
cbf60a2058
12 changed files with 12 additions and 12 deletions
2
config/external/nspr/pr/moz.build
vendored
2
config/external/nspr/pr/moz.build
vendored
|
|
@ -63,7 +63,7 @@ elif CONFIG['OS_TARGET'] == 'SunOS':
|
|||
if CONFIG['CPU_ARCH'] == 'x86_64':
|
||||
SOURCES += ['/nsprpub/pr/src/md/unix/os_SunOS_x86_64.s']
|
||||
elif CONFIG['CPU_ARCH'] == 'x86':
|
||||
SOURCES += ['/nsprpub/pr/src/md/unix/os_SunOS/x86.s']
|
||||
SOURCES += ['/nsprpub/pr/src/md/unix/os_SunOS_x86.s']
|
||||
elif CONFIG['OS_TARGET'] == 'WINNT':
|
||||
OS_LIBS += [
|
||||
'advapi32',
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ PluginModuleChild::InitForChrome(const std::string& aPluginFilename,
|
|||
|
||||
// TODO: use PluginPRLibrary here
|
||||
|
||||
#if defined(OS_LINUX) || defined(OS_BSD)
|
||||
#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS)
|
||||
mShutdownFunc =
|
||||
(NP_PLUGINSHUTDOWN) PR_FindFunctionSymbol(mLibrary, "NP_Shutdown");
|
||||
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ MessagePumpForUI::MessagePumpForUI()
|
|||
int flags = fcntl(fds[0], F_GETFL,0);
|
||||
if (flags == -1)
|
||||
flags = 0;
|
||||
fntl(fds[0], F_SETFL, flags | O_NDELAY);
|
||||
fcntl(fds[0], F_SETFL, flags | O_NDELAY);
|
||||
#endif
|
||||
wakeup_pipe_read_ = fds[0];
|
||||
wakeup_pipe_write_ = fds[1];
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#if defined(OS_WIN)
|
||||
#include <windows.h>
|
||||
#elif defined(OS_LINUX)
|
||||
#elif defined(OS_LINUX) || defined(OS_SOLARIS)
|
||||
#include "chrome/common/x11_util.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ js::GetNativeStackBaseImpl()
|
|||
|
||||
JS_STATIC_ASSERT(JS_STACK_GROWTH_DIRECTION < 0);
|
||||
|
||||
void js::GetNativeStackBaseImpl()
|
||||
void*
|
||||
js::GetNativeStackBaseImpl()
|
||||
{
|
||||
stack_t st;
|
||||
stack_getbounds(&st);
|
||||
|
|
|
|||
|
|
@ -52,5 +52,5 @@ FINAL_LIBRARY = 'gkmedias'
|
|||
# We allow warnings for third-party code that can be updated from upstream.
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
||||
if CONFIG['GNU_CC']
|
||||
CFLAGS += ['std=c89']
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += ['-std=c89']
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@ case "$target" in
|
|||
fi
|
||||
;;
|
||||
|
||||
*-solaris*
|
||||
*-solaris*)
|
||||
MOZ_FIX_LINK_PATHS="-L${DIST}/bin"
|
||||
;;
|
||||
|
||||
|
|
|
|||
|
|
@ -274,6 +274,7 @@ if CONFIG['OS_ARCH'] == 'SunOS':
|
|||
OS_LIBS += [
|
||||
'elf',
|
||||
'demangle',
|
||||
'sendfile',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'FreeBSD':
|
||||
|
|
|
|||
|
|
@ -225,7 +225,6 @@ static void fpehandler(int signum, siginfo_t *si, void *context)
|
|||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void InstallSignalHandlers(const char *aProgname)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1607,7 +1607,6 @@ nsLocalFile::IsExecutable(bool* aResult)
|
|||
return NSRESULT_FOR_ERRNO();
|
||||
}
|
||||
#endif
|
||||
if (*aResult || errno == EACCES) {
|
||||
if (*aResult || errno == EACCES) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue