X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fdentry.c;h=3b15a44b6166eb534d8e19e4dec4fd248c0e1497;hb=3c7261138d8c8dc82d5b6b2347ef4c35b1f89a2d;hp=ad78f7db3b2d370dce75758c944627ee8076922e;hpb=1fc939b7bd0b37900d974b1cd5b11df128df71f5;p=wimlib diff --git a/src/dentry.c b/src/dentry.c index ad78f7db..3b15a44b 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -671,6 +671,9 @@ ads_entry_has_name(const struct wim_ads_entry *entry, ignore_case); } +/* Default case sensitivity behavior for searches with + * WIMLIB_CASE_PLATFORM_DEFAULT specified. This can be modified by + * wimlib_global_init(). */ bool default_ignore_case = #ifdef __WIN32__ true @@ -1491,7 +1494,7 @@ inode_get_ads_entry(struct wim_inode *inode, const tchar *stream_name, if (ads_entry_has_name(&inode->i_ads_entries[i], stream_name_utf16le, stream_name_utf16le_nbytes, - false)) + default_ignore_case)) { if (idx_ret) *idx_ret = i;