<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-0.8.8
+0.8.9</diff>
      <filename>VERSION</filename>
    </modified>
    <modified>
      <diff>@@ -11,12 +11,21 @@
 #include &lt;fcntl.h&gt;
 
 #include &quot;ruby.h&quot;
+
+#ifndef RSTRING_PTR
+#define RSTRING_PTR(str) (RSTRING(str)-&gt;ptr)
+#endif
+#ifndef RSTRING_LEN
+#define RSTRING_LEN(str) (RSTRING(str)-&gt;len)
+#endif
+
 #ifdef HAVE_FASTCGI_FCGIAPP_H
 #include &lt;fastcgi/fcgiapp.h&gt;
 #else
 #include &quot;fcgiapp.h&quot;
 #endif
 
+
 static VALUE cFCGI;
 static VALUE eFCGIError;
 static VALUE cFCGIStream;
@@ -358,11 +367,10 @@ static VALUE fcgi_stream_ungetc(VALUE self, VALUE ch)
   return INT2NUM(c);
 }
 
-static VALUE fcgi_stream_gets(VALUE self)
-{
+static VALUE fcgi_stream_gets(VALUE self) {
   FCGX_Stream *stream;
   char buff[BUFSIZ];
-  VALUE str = rb_str_new(&quot;&quot;, 0);
+  VALUE str = rb_str_new(0,0);
   OBJ_TAINT(str);
 
   if (rb_safe_level() &gt;= 4 &amp;&amp; !OBJ_TAINTED(self)) {</diff>
      <filename>ext/fcgi/fcgi.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>551d8f9c942f33d91ddb76f35d48bb34fb581ff5</id>
    </parent>
  </parents>
  <author>
    <name>saks</name>
    <email>saksmlz@gmail.com</email>
  </author>
  <url>http://github.com/saks/ruby-fcgi/commit/cd423ab221281a9ac7aa1347303dad784a14a128</url>
  <id>cd423ab221281a9ac7aa1347303dad784a14a128</id>
  <committed-date>2009-10-28T02:57:47-07:00</committed-date>
  <authored-date>2009-10-28T02:57:47-07:00</authored-date>
  <message>ruby1.8.x compability patch</message>
  <tree>f3f7eaa8e06e86075469943b3d775d399758ead1</tree>
  <committer>
    <name>saks</name>
    <email>saksmlz@gmail.com</email>
  </committer>
</commit>
