-const char miscutil_rcs[] = "$Id: miscutil.c,v 1.37.2.2 2002/11/12 14:28:18 oes Exp $";
+const char miscutil_rcs[] = "$Id: miscutil.c,v 1.37.2.3 2003/11/20 11:39:24 oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/Attic/miscutil.c,v $
*
* Revisions :
* $Log: miscutil.c,v $
+ * Revision 1.37.2.3 2003/11/20 11:39:24 oes
+ * Bugfix: The "?" wildcard for domain names had never been implemented. Ooops\!
+ *
* Revision 1.37.2.2 2002/11/12 14:28:18 oes
* Proper backtracking in simplematch; fixes bug #632888
*
/* EOF pattern but !EOF text? */
if (*pat == '\0')
{
- return 1;
+ if (wildcard)
+ {
+ pat = fallback;
+ }
+ else
+ {
+ return 1;
+ }
}
/* '*' in the pattern? */
* Wildcard mode && nonmatch beyond fallback: Rewind pattern
*/
pat = fallback;
- continue;
}
txt++;
}