From: "h.shirosaki (Hiroshi Shirosaki)" Date: 2012-03-23T09:47:51+09:00 Subject: [ruby-core:43565] [ruby-trunk - Bug #6179] File::pos broken in Windows 1.9.3p125 Issue #6179 has been updated by h.shirosaki (Hiroshi Shirosaki). I fixed it at r35111. Please move this 1.9.3 backport. Revisions: 34785,35095,35098,35111 ---------------------------------------- Bug #6179: File::pos broken in Windows 1.9.3p125 https://bugs.ruby-lang.org/issues/6179#change-25057 Author: jmthomas (Jason Thomas) Status: Closed Priority: Normal Assignee: h.shirosaki (Hiroshi Shirosaki) Category: core Target version: 1.9.3 ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32] Calling the pos method on a File in the Windows version of Ruby on 1.9.3p125 moves the file pointer. Thus it can not be called without side effect. -- http://bugs.ruby-lang.org/