From 4850cf90691e0c59f0e5d8ff501fa8620f602fa4 Mon Sep 17 00:00:00 2001 From: Thiago Henrique Hupner Date: Sat, 5 Jun 2021 08:35:24 -0300 Subject: LibC: Add stub implementation for sigsuspend Currently, ZSH tries to call this function and it always asserts, so adding a stub to allow ZSH at least open. --- Userland/Libraries/LibC/signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibC') diff --git a/Userland/Libraries/LibC/signal.cpp b/Userland/Libraries/LibC/signal.cpp index a6931dbcbd..6bb81d6597 100644 --- a/Userland/Libraries/LibC/signal.cpp +++ b/Userland/Libraries/LibC/signal.cpp @@ -165,7 +165,7 @@ void siglongjmp(jmp_buf env, int val) int sigsuspend(const sigset_t*) { dbgln("FIXME: Implement sigsuspend()"); - TODO(); + return -1; } static const char* signal_names[] = { -- cgit v1.2.3