# HG changeset patch # User Matti Hamalainen # Date 1509842115 -7200 # Node ID 4bca92dd72805f3411b347c15cd3804b2537d28b # Parent cb9865a491344831c14f7729dfde5a886d015503 Rename dm_strmatch() to dmStrMatch(). diff -r cb9865a49134 -r 4bca92dd7280 tools/packed.c --- a/tools/packed.c Sun Nov 05 02:35:01 2017 +0200 +++ b/tools/packed.c Sun Nov 05 02:35:15 2017 +0200 @@ -503,7 +503,7 @@ * wildcards ? and *. "?" matches any character and "*" matches * any number of characters. */ -BOOL dm_strmatch(const char *str, const char *pattern) +BOOL dmStrMatch(const char *str, const char *pattern) { BOOL matched = TRUE, any = FALSE, end = FALSE; const char *tmp = NULL; @@ -615,7 +615,7 @@ int i; for (i = 0; i < nexcFilenames; i++) { - if (dm_strmatch(filename, excFilenames[i])) + if (dmStrMatch(filename, excFilenames[i])) return TRUE; } return FALSE; @@ -725,7 +725,7 @@ { match = FALSE; for (i = 0; i < nsrcFilenames && !match; i++) - match = dm_strmatch(node->filename, srcFilenames[i]); + match = dmStrMatch(node->filename, srcFilenames[i]); } else // No filenames specified, everything shown @@ -770,7 +770,7 @@ match = FALSE; for (i = 0; (i < nsrcFilenames) && !match; i++) { - if (dm_strmatch(node->filename, srcFilenames[i]) && + if (dmStrMatch(node->filename, srcFilenames[i]) && !dmCheckExcluded(node->filename)) match = TRUE; }