-
Notifications
You must be signed in to change notification settings - Fork 27
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
"ReadKey" deadlocks with latest StrawberryPerl #25
Comments
I can't easily fix it without a windows installation, this does look somewhat like a bug in StrawberryPerl. I think the best I will be able to do is treat 0 > $ < 1 as 1 |
I've opened a StrawberryPerl bug: |
It may be useful if you could paste the generated verision of the ReadKey from the installed ReadKey.pm as it's not clear which one would be used with SP :) |
The Strawberry Perl upstream's response to my report:
|
I'll need to check why that was changed like that in the first place. |
W32: Fix ReadKey with argument in the range 0 < x < 1.
Thanks for the merge! |
If you give ReadKey an argument between 0 and 1, it hangs forever.
This was working fine with StrawberryPerl 5.20.1.1.
Code:
You can reproduce this easily, even without a windows installation, using the following Appveyor build script: (See a recent blog post of eserte)
See https://ci.appveyor.com/project/amba/term-readkey-windows/build/1.0.3 for the full build log.
The text was updated successfully, but these errors were encountered: