rpms/alexandria/devel alexandria-0.6.3-library-utf8-string.patch, 1.1, 1.2

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Feb 25 18:38:50 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/alexandria/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2363

Modified Files:
	alexandria-0.6.3-library-utf8-string.patch 
Log Message:
Remove slash

alexandria-0.6.3-library-utf8-string.patch:

Index: alexandria-0.6.3-library-utf8-string.patch
===================================================================
RCS file: /cvs/extras/rpms/alexandria/devel/alexandria-0.6.3-library-utf8-string.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- alexandria-0.6.3-library-utf8-string.patch	25 Feb 2009 18:23:57 -0000	1.1
+++ alexandria-0.6.3-library-utf8-string.patch	25 Feb 2009 18:38:19 -0000	1.2
@@ -1,11 +1,14 @@
---- alexandria-0.6.3/lib/alexandria/ui/sidepane.rb.utf-8	2008-02-21 10:11:37.000000000 +0900
-+++ alexandria-0.6.3/lib/alexandria/ui/sidepane.rb	2009-02-26 03:11:27.000000000 +0900
-@@ -20,17 +20,22 @@
+--- alexandria-0.6.3/lib/alexandria/ui/sidepane.rb.utf_8	2008-02-21 10:11:37.000000000 +0900
++++ alexandria-0.6.3/lib/alexandria/ui/sidepane.rb	2009-02-26 03:33:41.000000000 +0900
+@@ -20,17 +20,25 @@
        end
  
        def contains_illegal_character new_text
 -        /([^\w\s'"()&?!:;.\-])/.match(new_text)
 +        #/([^\w\s'"()&?!:;.\-])/.match(new_text)
++        if /(\/)/.match(new_text)
++           return true
++        end
 +        begin
 +          new_text.unpack("U*")
 +        rescue




More information about the fedora-extras-commits mailing list