ruby: updated to 1.8.5-p12
[crux-ports.git] / ruby / ruby-cgi_dos.diff
diff --git a/ruby/ruby-cgi_dos.diff b/ruby/ruby-cgi_dos.diff
deleted file mode 100644 (file)
index a563c65..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/cgi.rb.orig    2006-08-22 18:38:19.000000000 +0900
-+++ lib/cgi.rb 2006-11-03 00:18:53.000000000 +0900
-@@ -1018,7 +1018,7 @@ class CGI
-               else
-                 stdinput.read(content_length)
-               end
--          if c.nil?
-+          if c.nil? || c.empty?
-             raise EOFError, "bad content body"
-           end
-           buf.concat(c)