Skip to content

Commit

Permalink
Ignore sigfillset
Browse files Browse the repository at this point in the history
Follow a suggestion by Christiano Haesbaert, as Solo5 doesn't provide
signals, it might just be ignored
As of OCaml 5.2.0 beta1, sigfillset is only used in functions creating
threads, and so that will abort in any case. Ignoring the function may
make it more future-proof, though.
  • Loading branch information
shym committed Apr 12, 2024
1 parent b3651e4 commit 77510e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nolibc/stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ STUB_IGNORE(int, pthread_cond_broadcast, 0);
STUB_ABORT(pthread_self);
STUB_ABORT(pthread_detach);

STUB_ABORT(sigfillset);
STUB_IGNORE(sigfillset);
STUB_ABORT(sigwait);
STUB_ABORT(usleep);
STUB_ABORT(strerror_r);

0 comments on commit 77510e7

Please sign in to comment.