]> git.pld-linux.org Git - packages/cvsspam.git/commitdiff
- set default users charset utf-8 not nil, as we always need charset to recode
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 18 Jun 2010 09:49:48 +0000 (09:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby19.patch -> 1.2

ruby19.patch

index 97117ea39ea7dd2f4333796a61cd1560350f2b25..43bc8b8652cd52195b2f7372ff2fb613f326c8e6 100644 (file)
@@ -1,6 +1,6 @@
---- cvsspam-0.2.12/cvsspam.rb~ 2010-04-07 18:25:49.252489451 +0300
+--- cvsspam-0.2.12/cvsspam.rb  2010-04-07 18:27:22.000000000 +0300
 +++ cvsspam-0.2.12/cvsspam.rb  2010-04-07 18:27:22.000000000 +0300
-@@ -169,7 +171,7 @@
+@@ -171,7 +171,7 @@
  
    # test to see of the given string contains non-ASCII characters
    def requires_rfc2047?(word)
@@ -9,7 +9,16 @@
    end
  end
  
-@@ -2242,6 +2244,7 @@
+@@ -1680,7 +1680,7 @@
+ cvsroot_dir = "#{ENV['CVSROOT']}/CVSROOT"
+ $config = "#{cvsroot_dir}/cvsspam.conf"
+ $users_file = "#{cvsroot_dir}/users"
+-$users_file_charset = nil
++$users_file_charset = 'utf-8'
+ $debug = false
+ $svn = false
+@@ -2244,6 +2244,7 @@
    if File.exists?($users_file)
      File.open($users_file) do |io|
        io.each_line do |line|
This page took 0.091031 seconds and 4 git commands to generate.