--- file.c.orig	Mon Oct 20 11:09:34 1997
+++ file.c	Sat Feb  7 13:00:38 1998
@@ -1326,6 +1326,11 @@
     if (!e) return 0;
 
     l2 = strlen(e);
+    if (l2 == 2 && e[1] == '*') {
+      e = strrchr(p, *e);
+      if (!e) return 0;
+      return e - p;
+    }
     if (l1 < l2) return l1;
 
     if (strcmp(p+l1-l2, e) == 0) {
