diff options
author | dzwdz | 2023-06-25 16:38:32 +0200 |
---|---|---|
committer | dzwdz | 2023-06-25 16:38:32 +0200 |
commit | d4542c336a6cbfb43497055f19a85e7713f2eed7 (patch) | |
tree | 9f4a68974c3392b0ea546ecc94324911e86f0528 /src/user/lib/signal.c | |
parent | fffd37f1680664bf055d8f5603ed1967718a6492 (diff) |
ports: reimplement the ports system from scratch
side stuff:
* removed sltar since it wasn't working anyways
* made signal() no longer panic, as that broke certain ports (oops)
* doom now ships with the FreeDOOM WADs
* /usr/ was aliased to /init/usr/, more directories were added to /bin/
to improve compat with ports
Diffstat (limited to 'src/user/lib/signal.c')
-rw-r--r-- | src/user/lib/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/signal.c b/src/user/lib/signal.c index 41340e7..3200263 100644 --- a/src/user/lib/signal.c +++ b/src/user/lib/signal.c @@ -86,7 +86,7 @@ int sigsuspend(const sigset_t *mask) { int signal(int sig, void (*func)(int)) { (void)sig; (void)func; - __libc_panic("unimplemented"); + return errno = ENOSYS, SIG_ERR; } int kill(pid_t pid, int sig) { |