<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -451,9 +451,9 @@ rescue LoadError
       end
       
       def self::read_length(buf)
-        if buf[0].ord &gt;&gt; 7 == 0
-        then buf.slice!(0,1)[0].ord
-        else buf.slice!(0,4).unpack('N')[0].ord &amp; ((1&lt;&lt;31) - 1)
+        if buf[0].bytes.first &gt;&gt; 7 == 0
+        then buf.slice!(0,1)[0].bytes.first
+        else buf.slice!(0,4).unpack('N')[0] &amp; ((1&lt;&lt;31) - 1)
         end
       end
 </diff>
      <filename>lib/fcgi.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f17ef57421bbfd8ed0c7afeed9a75e65d619bf06</id>
    </parent>
  </parents>
  <author>
    <name>Christian H&#246;ltje</name>
    <email>holtje@vivisimo.com</email>
  </author>
  <url>http://github.com/saks/ruby-fcgi/commit/f289d592a135f4112ec4eb54a77fadf7d0c9bb8f</url>
  <id>f289d592a135f4112ec4eb54a77fadf7d0c9bb8f</id>
  <committed-date>2009-11-04T12:28:06-08:00</committed-date>
  <authored-date>2009-11-04T12:24:25-08:00</authored-date>
  <message>Fixed references to bytes with a string.

In ruby 1.9.1, you can't get the ordinal of a character from a string
using the subscripting operator '[]'; 1.9.1 returns a single character
string instead.</message>
  <tree>66abd12cc007258c66836e76b26b7efdac43944a</tree>
  <committer>
    <name>Christian H&#246;ltje</name>
    <email>docwhat@gerf.org</email>
  </committer>
</commit>
