Match the "pattern" against the forced-to-lower-case "text" string. */
| 296 | |
| 297 | /* Match the "pattern" against the forced-to-lower-case "text" string. */ |
| 298 | int iwildmatch(const char *pattern, const char *text) |
| 299 | { |
| 300 | static const uchar *nomore[1]; /* A NULL pointer. */ |
| 301 | int ret; |
| 302 | #ifdef WILD_TEST_ITERATIONS |
| 303 | wildmatch_iteration_count = 0; |
| 304 | #endif |
| 305 | force_lower_case = 1; |
| 306 | ret = dowild((const uchar*)pattern, (const uchar*)text, nomore) == TRUE; |
| 307 | force_lower_case = 0; |
| 308 | return ret; |
| 309 | } |
| 310 | |
| 311 | /* Match pattern "p" against the a virtually-joined string consisting |
| 312 | * of all the pointers in array "texts" (which has a NULL pointer at the |
no test coverage detected