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

unix_termios_conversion.c: Support for higher baud rates. #678

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

GreenArchon
Copy link
Contributor

This makes Lwt_unix.tcsetattr/tcgetattr functions compatible with the corresponding Unix library functions at higher baudrates.

These extra baudrates are in OCaml's standard library since v.4.02 (see ocaml/ocaml#6781 for details). Code is taken directly from there.

This makes Lwt_unix.tcsetattr/tcgetattr compatible with the
corresponding Unix library functions at higher baudrates.

See ocaml/ocaml#6781 for details.
@aantron
Copy link
Collaborator

aantron commented Mar 21, 2019

Thanks. Disregard the AppVeyor failure. Hopefully this will be fixed soon. If not, we will move the build to allowed failures.

@aantron
Copy link
Collaborator

aantron commented Mar 21, 2019

Looks good, will merge after Travis finishes.

It looks like the commit that merged this support into the compiler was actually merged for 4.03: ocaml/ocaml@860c670. However, Lwt support doesn't look like it depends on the compiler having the corresponding code, so it should work in 4.02 as well.

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