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

erts: Fix prim_tty nif to compile with GNU termcap #7533

Conversation

garazdawi
Copy link
Contributor

termcap.h contains the prototypes of the functions we need and is available in both curses and GNU termcap.

However, GNU termcap has tputs defined as returning void intead of int, so we handle that by ignoring the return value. tputs cannot fail with the input we give it.

closes #7381

termcap.h contains the prototypes of the functions
we need and is available in both curses and GNU termcap.

However, GNU termcap has tputs defined as returning void
intead of int, so we handle that by ignoring the return
value. tputs cannot fail with the input we give it.

closes erlang#7381
@garazdawi garazdawi changed the base branch from master to maint August 3, 2023 11:19
@garazdawi garazdawi self-assigned this Aug 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2023

CT Test Results

       3 files     133 suites   53m 8s ⏱️
1 557 tests 1 503 ✔️ 54 💤 0
1 978 runs  1 905 ✔️ 73 💤 0

Results for commit f9c1181.

♻️ 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

@garazdawi garazdawi added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI bug Issue is reported as a bug labels Aug 3, 2023
@frazze-jobb frazze-jobb merged commit 21d130b into erlang:maint Aug 24, 2023
17 checks passed
@garazdawi garazdawi added this to the OTP-26.1 milestone Oct 3, 2023
@garazdawi garazdawi deleted the lukas/erts/fix-gnu-termcap-compile/OTP-18702 branch January 17, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug 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.

Building against GNU Termcap fails
2 participants