Patches: Browse | Submit New | Admin

[#26479] handle ruby 1.9 getc/getbyte switch

Date:
2009-07-01 05:39
Priority:
3
Submitted By:
Dan Torop (dantorop)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
handle ruby 1.9 getc/getbyte switch

Detailed description
Since in Ruby 1.9 getbyte acts the way getc used to (returning a byte rather than a character), riff/reader no longer
seems to work.  (It thinks that all chunks are length 0.)

This patch tries to fix riff/reader to work on 1.8 or 1.9.  It may be a clunky solution, though...

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
riff-getbyte.patch patch to use getbyte rather than getc when possible Download

Changes:

Field Old Value Date By
File Added4587: riff-getbyte.patch2009-07-01 05:39dantorop