packages: cvsspam/ruby19.patch - set default users charset utf-8 not nil, a...
glen
glen at pld-linux.org
Fri Jun 18 11:49:53 CEST 2010
Author: glen Date: Fri Jun 18 09:49:53 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- set default users charset utf-8 not nil, as we always need charset to recode
---- Files affected:
packages/cvsspam:
ruby19.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/cvsspam/ruby19.patch
diff -u packages/cvsspam/ruby19.patch:1.1 packages/cvsspam/ruby19.patch:1.2
--- packages/cvsspam/ruby19.patch:1.1 Wed Apr 7 17:28:38 2010
+++ packages/cvsspam/ruby19.patch Fri Jun 18 11:49:48 2010
@@ -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|
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cvsspam/ruby19.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list