Bug #14828
closedsyn 63583 fix for windows
Description
svn 63583 seems to have broken the mswin build, I have the same issue locally with MinGW. The methods set_winsize_setup
and set_winsize_teardown
are defined base on whether PTY
is defined. It is not on windows.
The test test_set_winsize_console
is run regardless of whether PTY
exsists, and hence the 'NameError: undefined local variable or method' message.
Attached patch is one way to fix the issue.
Thanks, Greg
Files
Updated by normalperson (Eric Wong) about 7 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r63585.
test/io/console/test_io_console.rb: fix for systems where PTY is not defined
[ruby-core:87420] [Bug #14828]
Thanks-to: MSP-Greg (Greg L)
Updated by normalperson (Eric Wong) about 7 years ago
[email protected] wrote:
https://bugs.ruby-lang.org/issues/14828
Thanks for the report. I moved the methods to be defined
globally in all cases, instead: r63585