summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-dg
blob: 64dc4d35e571c9726967cfee9b267b356378a3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-dg,v 1.1 2007/09/09 14:17:13 taca Exp $

This is a fix for ruby-1.8.6 patchlevel 36.

--- lib/base64.rb.orig	2007-02-27 20:51:55.000000000 +0900
+++ lib/base64.rb
@@ -110,7 +110,7 @@ module Base64
   #    UnVieQ==
 
   def b64encode(bin, len = 60)
-    encode64(bin).scan(/.{1,#{len}}/o) do
+    encode64(bin).scan(/.{1,#{len}}/) do
       print $&, "\n"
     end
   end