From 86eedc068569a693000cdd31d76b3429658a7d30 Mon Sep 17 00:00:00 2001 From: agriffis Date: Wed, 31 Mar 2004 21:19:59 +0000 Subject: [PATCH] Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing ppc and ppc64 svn path=/; revision=99 --- trunk/src/ekeyword/ChangeLog | 4 ++++ trunk/src/ekeyword/ekeyword | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/src/ekeyword/ChangeLog b/trunk/src/ekeyword/ChangeLog index 20942f2..b3c4cff 100644 --- a/trunk/src/ekeyword/ChangeLog +++ b/trunk/src/ekeyword/ChangeLog @@ -1,3 +1,7 @@ +31 Mar 2004 Aron Griffis + * Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing + ppc and ppc64 + 2004-01-12 Aron Griffis * Allow multiple keywords diff --git a/trunk/src/ekeyword/ekeyword b/trunk/src/ekeyword/ekeyword index 420c979..be9cd64 100644 --- a/trunk/src/ekeyword/ekeyword +++ b/trunk/src/ekeyword/ekeyword @@ -38,7 +38,7 @@ for my $f (@ARGV) { /^KEYWORDS/ or print, next; for my $k (@kw) { (my $arch = $k) =~ s/^[-~]//; - s/[-~]?$arch/$k/ || s/(.*?['"].*?)\s*(?=['"])/$1 $k/; + s/[-~]?$arch\b/$k/ || s/(.*?['"].*?)\s*(?=['"])/$1 $k/; } print $_, or die "Can't write $f.new: $!\n"; } -- 2.26.2