From: "daz (Dave B)" Date: 2012-03-21T02:43:45+09:00 Subject: [ruby-core:43498] [ruby-trunk - Bug #6179] File::pos broken in Windows 1.9.3p125 Issue #6179 has been updated by daz (Dave B). Please provide a short code example which demonstrates how you're checking the condition. Have you haven't coded something like: "if pos = 12" instead of "if pos == 12" which would accidentally set the file position? daz ---------------------------------------- Bug #6179: File::pos broken in Windows 1.9.3p125 https://bugs.ruby-lang.org/issues/6179#change-24979 Author: jmthomas (Jason Thomas) Status: Open Priority: High Assignee: Category: Target version: 1.9.3 ruby -v: 1.9.3p125 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/