Bug #2998
closedgets fails in mingw
Description
=begin
C:\usr\local\bin>ruby -ve 'gets'
ruby 1.9.2dev (2010-03-24 trunk 27027) [i386-mingw32]
-e:1:in gets': Not enough space - <STDIN> (Errno::ENOMEM) from -e:1:in
gets'
from -e:1:in `'
=end
Updated by luislavena (Luis Lavena) almost 15 years ago
=begin
Can you try STDIN.gets?
=end
Updated by vvs (Vladimir Sizikov) almost 15 years ago
=begin
Hi Luis, Roger,
I just built MRI on Windows/mingw, from the very latest trunk, and
also starting to see this issue:
D:/work/jruby-dev/rubyinstaller.git/sandbox/ruby19_mingw\bin\ruby -ve 'gets'
ruby 1.9.2dev (2010-03-24 trunk 27027) [i386-mingw32]
-e:1:in gets': Not enough space - <STDIN> (Errno::ENOMEM) from -e:1:in
gets'
from -e:1:in `'
On Tue, Mar 23, 2010 at 8:33 PM, Luis Lavena redmine@ruby-lang.org wrote:
Issue #2998 has been updated by Luis Lavena.
Can you try STDIN.gets?
The same is for STDIN.gets. It fails the same way.
Btw, the earlier version, ruby 1.9.2dev (2010-03-05 trunk 26821)
[i386-mingw32], is OK, so this is a very recent regression.
Thanks,
--Vladimir
=end
Updated by nobu (Nobuyoshi Nakada) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27029.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Updated by rogerdpack (Roger Pack) over 14 years ago
=begin
Thanks works well now.
-rp
=end