From: Johan Holmberg Date: 2005-04-08T02:12:51+09:00 Subject: Re: ruby 1.8.3 preview1 plan On Thu, 7 Apr 2005, Yukihiro Matsumoto wrote: > > Hi, > > I am going to release 1.8.3 preview1 on April 12, unless something > would stop me. Core contributors who want to update their libraries > for 1.8.3, please consider updating your code before preview1. > And someone who found bugs for 1.8 CVS, please report here. > Hi! I reported a problem 2004-12-23 on 1.8.2 preview4. It seems to have reappeared in the current CVS head on the "ruby_1_8" branch. See a copy of my earlier mail below. /Johan Holmberg --------------------------------------------------------- Date: Thu, 23 Dec 2004 02:05:24 +0900 From: Johan Holmberg Subject: Re: 1.8.2 preview4 [...] The following example (taken from the PickAxe2 documentation of IO#reopen) doesn't work in preview4: File.open("testfile", "w") do |f| 5.times do |i| f.puts "This is line #{i}" end end f1 = File.new("testfile") f2 = File.new("testfile") puts f2.readlines[0] f2.reopen(f1) puts f2.readlines[0] Output in preview3: This is line 0 This is line 0 Output in preview4: This is line 0 test-reopen.rb:12:in `readlines': not opened for reading (IOError) from test-reopen.rb:12 /Johan Holmberg ---------------------------------------------------------