HomePhorge

(PUP-2946) File2 with #compare_stream from 1.9.3
a31bb3cf558cUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2946) File2 with #compare_stream from 1.9.3

FileUtils.compare_stream in Ruby 2 is broken when comparing
binary file stream with StringIO stream of different encoding.

This change reverts FileUtils.compare_stream to stdlib v1.9.3
implementation.

Event Timeline

Maksym Melnychok <maksym.melnychok@gmail.com> committed rPUa31bb3cf558c: (PUP-2946) File2 with #compare_stream from 1.9.3 (authored by Maksym Melnychok <maksym.melnychok@gmail.com>).Aug 5 2014, 9:59 AM