Skip to content

Fix stubs for non-glibc#59

Merged
rgrinberg merged 1 commit intojanestreet:masterfrom
emillon:signals-musl
Mar 26, 2024
Merged

Fix stubs for non-glibc#59
rgrinberg merged 1 commit intojanestreet:masterfrom
emillon:signals-musl

Conversation

@emillon
Copy link
Copy Markdown
Contributor

@emillon emillon commented Mar 12, 2024

caml/signals.h is not public API; it does not include caml/config.h and so it will not include signal.h because it does not know about POSIX_SIGNAL. This issue is visible on musl as "unknown type sigset_t".

`caml/signals.h` is not public API; it does not include `caml/config.h`
and so it will not include `signal.h` because it does not know about
`POSIX_SIGNAL`. This issue is visible on musl as "unknown type
sigset_t".

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon mentioned this pull request Mar 12, 2024
8 tasks
@rgrinberg rgrinberg merged commit 784f53c into janestreet:master Mar 26, 2024
dkalinichenko-js pushed a commit to dkalinichenko-js/opam-repository that referenced this pull request Nov 12, 2024
CHANGES:

- Support older GCC like 4.8.5 (janestreet/spawn#59)

- Fix spawning processes on Windows when environment contains non-ascii
  characters (janestreet/spawn#58)

- Skip calls to pthread_cancelstate on android, as its not available (janestreet/spawn#52)

- Fix compatibility with systems that do not define `PIPE_BUF`. Use
  `_POSIX_PIPE_BUF` as a fallback. (janestreet/spawn#49)

- [haiku] Fix compilation on Haiku OS. The header sys/syscalls.h isn't
  available, neither is pipe2()

- Allow setting the sigprocmask for spawned processes (janestreet/spawn#32)
dkalinichenko-js pushed a commit to dkalinichenko-js/opam-repository that referenced this pull request Nov 12, 2024
CHANGES:

- Support older GCC like 4.8.5 (janestreet/spawn#59)

- Fix spawning processes on Windows when environment contains non-ascii
  characters (janestreet/spawn#58)

- Skip calls to pthread_cancelstate on android, as its not available (janestreet/spawn#52)

- Fix compatibility with systems that do not define `PIPE_BUF`. Use
  `_POSIX_PIPE_BUF` as a fallback. (janestreet/spawn#49)

- [haiku] Fix compilation on Haiku OS. The header sys/syscalls.h isn't
  available, neither is pipe2()

- Allow setting the sigprocmask for spawned processes (janestreet/spawn#32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants