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

std::io::Stdin.read_line is not blocking #32517

Closed
skylerberg opened this issue Mar 26, 2016 · 1 comment
Closed

std::io::Stdin.read_line is not blocking #32517

skylerberg opened this issue Mar 26, 2016 · 1 comment

Comments

@skylerberg
Copy link

After updating to the latest nightly, read_line has stopped blocking. As soon as it is called, it returns successfully and reports that it read 0 bytes.

Code this problem was found in: https://github.com/redox-os/ion/blob/master/src/input_editor.rs#L5.
Rust version: rustc 1.9.0-nightly (a1e29daf1 2016-03-25)
Shells tested in: zsh, bash, tcsh, fish, ksh
Operating system: Ubuntu 14.04.
uname -a: Linux sib5 4.2.3-040203-generic #201510030832 SMP Sat Oct 3 12:34:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

@alexcrichton
Copy link
Member

I believe this was fixed in #32257, but thanks for the report!

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

No branches or pull requests

2 participants