const u8 *hash;
if (stream_is_named(strm)) {
- size_t dummy;
int ret;
ret = utf16le_get_tstr(strm->stream_name,
utf16le_len_bytes(strm->stream_name),
- &wstream->stream_name, &dummy);
+ &wstream->stream_name, NULL);
if (ret)
return ret;
}
WIMStruct *wim, int flags)
{
int ret;
- size_t dummy;
const struct wim_inode *inode = dentry->d_inode;
const struct wim_inode_stream *strm;
struct wimlib_unix_data unix_data;
u32 object_id_len;
ret = utf16le_get_tstr(dentry->d_name, dentry->d_name_nbytes,
- &wdentry->filename, &dummy);
+ &wdentry->filename, NULL);
if (ret)
return ret;
ret = utf16le_get_tstr(dentry->d_short_name, dentry->d_short_name_nbytes,
- &wdentry->dos_name, &dummy);
+ &wdentry->dos_name, NULL);
if (ret)
return ret;
struct wim_dentry *child;
ret = 0;
- if (default_ignore_case) {
- for_dentry_child_case_insensitive(child, dentry) {
- ret = do_iterate_dir_tree(wim, child,
- flags & ~WIMLIB_ITERATE_DIR_TREE_FLAG_CHILDREN,
- cb, user_ctx);
- if (ret)
- break;
- }
- } else {
- for_dentry_child(child, dentry) {
- ret = do_iterate_dir_tree(wim, child,
- flags & ~WIMLIB_ITERATE_DIR_TREE_FLAG_CHILDREN,
- cb, user_ctx);
- if (ret)
- break;
- }
+ for_dentry_child(child, dentry) {
+ ret = do_iterate_dir_tree(wim, child,
+ flags & ~WIMLIB_ITERATE_DIR_TREE_FLAG_CHILDREN,
+ cb, user_ctx);
+ if (ret)
+ break;
}
}
out_free_wimlib_dentry: