Bug 126327

Summary: Use getc rather than getbyte on older ruby
Product: WebKit Reporter: Jeremy Huddleston Sequoia <jeremyhu>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, mcatanzaro, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://trac.macports.org/ticket/37740
Bug Depends on:    
Bug Blocks: 126492    
Attachments:
Description Flags
patch to check ruby version first none

Description Jeremy Huddleston Sequoia 2013-12-30 21:29:41 PST
Created attachment 220146 [details]
patch to check ruby version first

You should use getc on older ruby (or update configure to abort if ruby is older than 1.8.7)

Trivial patch attached.
Comment 1 Csaba Osztrogonác 2014-01-13 06:01:03 PST
Please add changelog and set r? if you would like to ask review.
Comment 2 Filip Pizlo 2014-01-13 11:05:37 PST
Comment on attachment 220146 [details]
patch to check ruby version first

This looks fine.  Can you prepare-ChangeLog and resubmit the patch?  I'll be happy to r+ with appropriate ChangeLog text.
Comment 3 Csaba Osztrogonác 2014-02-06 08:12:37 PST
ping
Comment 4 Filip Pizlo 2014-02-06 10:21:01 PST
(In reply to comment #3)
> ping

Do you want to do the honors and land this with a changelog?  R=me.
Comment 5 Michael Catanzaro 2015-05-10 14:07:57 PDT
Looks like 1.8.7 is the minimum required nowadays, so closing.