File bugzilla-224463-comparison-with-string-literal.patch of Package anthy

diff -ru anthy-8419/src-diclib/ruleparser.c anthy-8419.new/src-diclib/ruleparser.c
--- anthy-8419/src-diclib/ruleparser.c	2006-10-14 07:47:51.000000000 +0200
+++ anthy-8419.new/src-diclib/ruleparser.c	2006-12-19 18:12:49.000000000 +0100
@@ -177,7 +177,7 @@
     if (!t) {
       return -1;
     }
-    if (t == NL) {
+    if (strcmp(t, NL) == 0) {
       return 0;
     }
     g_ps.nr_token++;
openSUSE Build Service is sponsored by