Project

General

Profile

Actions

Bug #2998

closed

gets fails in mingw

Added by rogerdpack (Roger Pack) over 14 years ago. Updated over 13 years ago.

Status:
Closed
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

Actions #1

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
Can you try STDIN.gets?

=end

Actions #2

Updated by vvs (Vladimir Sizikov) over 14 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 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

Actions #3

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

Actions #4

Updated by rogerdpack (Roger Pack) over 14 years ago

=begin
Thanks works well now.
-rp
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0