SOURCES: cvsspam-rfc2045.patch (NEW) - use uppercase hex in quoted pritable...

glen glen at pld-linux.org
Tue Sep 9 21:05:43 CEST 2008


Author: glen                         Date: Tue Sep  9 19:05:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use uppercase hex in quoted pritable encode

---- Files affected:
SOURCES:
   cvsspam-rfc2045.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cvsspam-rfc2045.patch
diff -u /dev/null SOURCES/cvsspam-rfc2045.patch:1.1
--- /dev/null	Tue Sep  9 21:05:44 2008
+++ SOURCES/cvsspam-rfc2045.patch	Tue Sep  9 21:05:37 2008
@@ -0,0 +1,11 @@
+--- cvsspam-0.2.12/cvsspam.rb~	2008-09-09 21:56:35.000000000 +0300
++++ cvsspam-0.2.12/cvsspam.rb	2008-09-09 21:59:51.431953755 +0300
+@@ -137,7 +137,7 @@
+   # format
+   def quoted_encode_char(b)
+     if b>126 || b==UNDERSCORE || b==TAB || b==HOOK || b==EQUALS
+-      sprintf("=%02x", b)
++      sprintf("=%02X", b)
+     elsif b == SPACE
+       "_"
+     else
================================================================


More information about the pld-cvs-commit mailing list