Project

General

Profile

Actions

Backport #6179

closed

File::pos broken in Windows 1.9.3p125

Added by jmthomas (Jason Thomas) about 12 years ago. Updated almost 12 years ago.


Description

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.


Files

pos_fix.patch (4.48 KB) pos_fix.patch h.shirosaki (Hiroshi Shirosaki), 03/22/2012 04:49 AM
pos_backport.patch (5.73 KB) pos_backport.patch h.shirosaki (Hiroshi Shirosaki), 04/03/2012 05:11 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0