* (which matches any single character). If there is no leading path
* separator, then the match is attempted with the filename component of
* @path only; otherwise, the match is attempted with the entire @path.
* (which matches any single character). If there is no leading path
* separator, then the match is attempted with the filename component of
* @path only; otherwise, the match is attempted with the entire @path.
*
* @path and @pattern can both contain path separators (character
* WIM_PATH_SEPARATOR). Leading and trailing path separators are not
*
* @path and @pattern can both contain path separators (character
* WIM_PATH_SEPARATOR). Leading and trailing path separators are not
path_component_end = advance_through_component(path);
pattern_component_end = advance_through_component(pattern);
path_component_end = advance_through_component(path);
pattern_component_end = advance_through_component(pattern);