Hi,

In message "Re: reopen: can't change access mode from "w+" to "w"?"
    on Wed, 6 Feb 2008 03:00:43 +0900, Sam Ruby <rubys / intertwingly.net> writes:

|with Ruby 1.8.6, the output is:
|
|"hi\n"
|
|with Ruby 1.9.0, the output is:
|
|reopen.rb:7:in `reopen': /tmp/should_output_8694 can't change access 
|mode from "w+" to "w" (ArgumentError)
|         from reopen.rb:7:in `<main>'
|
|Is this a bug in Ruby 1.9?  If not, any suggestions on a workaround for 
|test/spec?

Possibly a bug.  Let me check it.

							matz.