Skip to content

configure: use a floating-point argument in isfinite checks#10965

Merged
bjorng merged 1 commit intoerlang:masterfrom
psumbera:solaris3
Apr 9, 2026
Merged

configure: use a floating-point argument in isfinite checks#10965
bjorng merged 1 commit intoerlang:masterfrom
psumbera:solaris3

Conversation

@psumbera
Copy link
Copy Markdown
Contributor

@psumbera psumbera commented Apr 2, 2026

The configure probes in erts and common_test/test_server currently call isfinite(0). On platforms where isfinite is provided as a macro, this can fail to compile because the argument is not a floating-point value.

Use isfinite(0.0) instead. This matches the expected API usage and fixes the configure checks on Solaris.

The configure probes in erts and common_test/test_server currently call
isfinite(0). On platforms where isfinite is provided as a macro, this
can fail to compile because the argument is not a floating-point value.

Use isfinite(0.0) instead. This matches the expected API usage and
fixes the configure checks on Solaris.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 2, 2026

CT Test Results

    4 files    183 suites   2h 3m 25s ⏱️
2 037 tests 1 971 ✅ 66 💤 0 ❌
2 701 runs  2 613 ✅ 88 💤 0 ❌

Results for commit 34bfca1.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 4, 2026

CLA assistant check
All committers have signed the CLA.

@garazdawi
Copy link
Copy Markdown
Contributor

Hello! Thanks for the PR! Would you please sign the CLA?

@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Apr 7, 2026
@bjorng bjorng added the testing currently being tested, tag is used by OTP internal CI label Apr 8, 2026
@bjorng bjorng self-assigned this Apr 8, 2026
@bjorng bjorng merged commit e3906ad into erlang:master Apr 9, 2026
32 checks passed
@bjorng
Copy link
Copy Markdown
Contributor

bjorng commented Apr 9, 2026

Thanks for your pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants