Skip to content

[Haiku] Unix socket test+single-thread setlocale+signals - #14773

Merged
OlivierNicole merged 2 commits into
ocaml:trunkfrom
Sylvain78:5.5-haiku
Sep 3, 2026
Merged

[Haiku] Unix socket test+single-thread setlocale+signals#14773
OlivierNicole merged 2 commits into
ocaml:trunkfrom
Sylvain78:5.5-haiku

Conversation

@Sylvain78

@Sylvain78 Sylvain78 commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Activate Haiku backend

-Adapt to not test unnamed socket on haiku cause those ones receive a random name with format "\000xxxxx", so the comparison of old and new filename can't succeed on Haiku.
-setlocale is not thread safe on Haiku
-Splitting of signals unit test because sigio doesn't exist on Haiku

@Sylvain78 Sylvain78 changed the title [Haiku] Unix socket test [Haiku] Unix socket test+single-thread setlocale+signals Apr 25, 2026
Comment thread testsuite/tests/lib-sys/signal.ml Outdated

@kit-ty-kate kit-ty-kate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you do a proper rebase on top of trunk?

git pull --rebase origin trunk

Comment thread testsuite/tests/lib-sys/signal_sigio.ml
Comment thread testsuite/tests/lib-sys/signal.ml
@Sylvain78
Sylvain78 force-pushed the 5.5-haiku branch 6 times, most recently from edc47c5 to 17dc494 Compare July 20, 2026 20:31

@kit-ty-kate kit-ty-kate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only tested the previous version of this work (#14138) on a bare-metal Haiku R1/beta5 and i'm unable to go to my local hackerspace to test it again for another couple of months but it worked just fine at the time and the code is similar enough and seems satisfactory for my non-dev-team eyes.

@kit-ty-kate

Copy link
Copy Markdown
Member

This PR is a duplicate of #14773 (same branch)

@nojb

nojb commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This PR is a duplicate of #14773 (same branch)

This is this PR?

@nojb

nojb commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This PR is a duplicate of #14773 (same branch)

This is this PR?

Ah, I think you meant #14138.

@nojb nojb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please see small points below. (I'm holding off on approving formally until these are addressed.)

Comment thread Changes Outdated
Comment thread Changes Outdated
@Sylvain78
Sylvain78 force-pushed the 5.5-haiku branch 3 times, most recently from 626452f to 1ab5fc5 Compare July 24, 2026 18:05

@OlivierNicole OlivierNicole left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving on behalf @nojb whose points I believe have been addressed.

I took the liberty of editing the changelog to 1. add a missing newline and 2. remove David from the reviewers (the PR is assigned to him, but that’s for shepherding, not reviewing).

@OlivierNicole
OlivierNicole merged commit 8b0ee33 into ocaml:trunk Sep 3, 2026
21 of 22 checks passed
smuenzel pushed a commit to smuenzel/ocaml that referenced this pull request Sep 6, 2026
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.

6 participants