From 6fa67cfeececadbef116bb46f7eca6eefefb4fc3 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sun, 24 May 2015 15:44:09 -0700 Subject: [PATCH] stub for clock_nanosleep syscall --- src/library_syscall.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/library_syscall.js b/src/library_syscall.js index e18cd8880..b5185fd27 100644 --- a/src/library_syscall.js +++ b/src/library_syscall.js @@ -602,6 +602,12 @@ mergeInto(LibraryManager.library, { } } } + case 265: { // clock_nanosleep +#if SYSCALL_DEBUG + Module.printErr('warning: ignoring SYS_clock_nanosleep'); +#endif + return 0; + } default: abort('bad syscall ' + which); } },