Project

General

Profile

Bug #2998

gets fails in mingw

Added by rogerdpack (Roger Pack) about 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2010-03-24 trunk 27027) [i386-mingw32]
Backport:
[ruby-core:28902]

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

#1

Updated by luislavena (Luis Lavena) about 10 years ago

=begin
Can you try STDIN.gets?

=end

#2

Updated by vvs (Vladimir Sizikov) about 10 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

#3

Updated by nobu (Nobuyoshi Nakada) about 10 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

#4

Updated by rogerdpack (Roger Pack) about 10 years ago

=begin
Thanks works well now.
-rp
=end

Also available in: Atom PDF