Hi,

In message "Re: [ruby-core:24686] [Bug #1755] IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8"
    on Sun, 2 Aug 2009 16:12:19 +0900, Run Paint Run Run <redmine / ruby-lang.org> writes:

|Thanks, nobu. There's some related oddness, however:

On your platform, ruby 1.8 seems to copy the position in the stream
when 1.9 don't.  1.8 does simply use dup2 + fdopen, where no standard
define if position information is shared among such file descriptors
or not, as far as I know.  So it's up to stdio of the platform.  1.9
implements our own I/O, so we can define the behavior.

							matz.