rubinius/rubinius — pull request #2540 by razielgn (2013-08-09 19:55:48+00:00)
Title: EncodingConverter#primitive_convert clears the source buffer.

https://github.com/ruby/ruby/blob/trunk/transcode.c#L3761.
This fixes infinite looping in the active_support master test suite.