ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:25363] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions
@ 2009-09-04 15:53 Run Paint Run Run
  2009-09-04 21:37 ` [ruby-core:25383] [Bug #2046](Closed) " Nobuyoshi Nakada
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Run Paint Run Run @ 2009-09-04 15:53 UTC (permalink / raw
  To: ruby-core

Bug #2046: (IO|File)#binmode is Inconsistent Across Versions
http://redmine.ruby-lang.org/issues/show/2046

Author: Run Paint Run Run
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.2dev (2009-09-03 trunk 24741) [i686-linux]

Presumably 1.8 or 1.9 are at fault.
  
  $ cat /tmp/bin.rb 
  f = File.new('/etc/passwd')
  f.close
  f.binmode

  $ ruby8 -v /tmp/bin.rb
  ruby 1.8.8dev (2009-07-01) [i686-linux]

  $ ruby -v /tmp/bin.rb
  ruby 1.9.2dev (2009-09-03 trunk 24741) [i686-linux]
  /tmp/bin.rb:3:in `binmode': closed stream (IOError)
	from /tmp/bin.rb:3:in `<main>'

Possibly related: http://redmine.ruby-lang.org/issues/show/1633


----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:25383] [Bug #2046](Closed) (IO|File)#binmode is Inconsistent Across Versions
  2009-09-04 15:53 [ruby-core:25363] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions Run Paint Run Run
@ 2009-09-04 21:37 ` Nobuyoshi Nakada
  2009-09-05 20:53 ` [ruby-core:25422] [Bug #2046] " Run Paint Run Run
  2009-11-17  6:47 ` [ruby-core:26779] [Backport #2046](Closed) " Shyouhei Urabe
  2 siblings, 0 replies; 4+ messages in thread
From: Nobuyoshi Nakada @ 2009-09-04 21:37 UTC (permalink / raw
  To: ruby-core

Issue #2046 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r24751.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2046

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:25422] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions
  2009-09-04 15:53 [ruby-core:25363] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions Run Paint Run Run
  2009-09-04 21:37 ` [ruby-core:25383] [Bug #2046](Closed) " Nobuyoshi Nakada
@ 2009-09-05 20:53 ` Run Paint Run Run
  2009-11-17  6:47 ` [ruby-core:26779] [Backport #2046](Closed) " Shyouhei Urabe
  2 siblings, 0 replies; 4+ messages in thread
From: Run Paint Run Run @ 2009-09-05 20:53 UTC (permalink / raw
  To: ruby-core

Issue #2046 has been updated by Run Paint Run Run.


Awfully minor, but could this be backported? There's a spec for it that now fails on 1.8/1.8.6.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2046

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:26779] [Backport #2046](Closed) (IO|File)#binmode is Inconsistent Across Versions
  2009-09-04 15:53 [ruby-core:25363] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions Run Paint Run Run
  2009-09-04 21:37 ` [ruby-core:25383] [Bug #2046](Closed) " Nobuyoshi Nakada
  2009-09-05 20:53 ` [ruby-core:25422] [Bug #2046] " Run Paint Run Run
@ 2009-11-17  6:47 ` Shyouhei Urabe
  2 siblings, 0 replies; 4+ messages in thread
From: Shyouhei Urabe @ 2009-11-17  6:47 UTC (permalink / raw
  To: ruby-core

Issue #2046 has been updated by Shyouhei Urabe.

Status changed from Assigned to Closed

This issue was solved with changeset r25812.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2046

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-17  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 15:53 [ruby-core:25363] [Bug #2046] (IO|File)#binmode is Inconsistent Across Versions Run Paint Run Run
2009-09-04 21:37 ` [ruby-core:25383] [Bug #2046](Closed) " Nobuyoshi Nakada
2009-09-05 20:53 ` [ruby-core:25422] [Bug #2046] " Run Paint Run Run
2009-11-17  6:47 ` [ruby-core:26779] [Backport #2046](Closed) " Shyouhei Urabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).