Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.15] backport #10428 #10434

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/10428.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- spawn: fix compatibility with RHEL7 (#10428, @emillon)
4 changes: 2 additions & 2 deletions vendor/spawn/src/spawn_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ static void init_spawn_info(struct spawn_info *info,
caml_failwith("Unknown sigprocmask action");
}

for (value v_signals_list = Field(v_sigprocmask, 1);
v_signals_list != Val_emptylist;
value v_signals_list = Field(v_sigprocmask, 1);
for (; v_signals_list != Val_emptylist;
v_signals_list = Field(v_signals_list, 1)) {
int signal = caml_convert_signal_number(Long_val(Field(v_signals_list, 0)));
switch (sigprocmask_command) {
Expand Down
2 changes: 1 addition & 1 deletion vendor/update-spawn.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=6c752122070f377c2607f6969a821f166a43bd5e
version=835c49833d41221758c4ad71f07829ee259668e1

set -e -o pipefail

Expand Down
Loading