*/
/*
- * Copyright (C) 2012 Eric Biggers
+ * Copyright (C) 2012, 2013 Eric Biggers
*
* This file is part of wimlib, a library for working with WIM files.
*
static int compare_names(const char *name_1, u16 len_1,
const char *name_2, u16 len_2)
{
- int result = strncasecmp(name_1, name_2, min(len_1, len_2));
+ int result = strncmp(name_1, name_2, min(len_1, len_2));
if (result) {
return result;
} else {
/*
* Links a dentry into the directory tree.
*
- * @dentry: The dentry to link.
* @parent: The dentry that will be the parent of @dentry.
+ * @dentry: The dentry to link.
*/
bool dentry_add_child(struct wim_dentry * restrict parent,
struct wim_dentry * restrict child)
inode->i_num_ads--;
}
+#ifndef __WIN32__
int inode_get_unix_data(const struct wim_inode *inode,
struct wimlib_unix_data *unix_data,
u16 *stream_idx_ret)
inode_remove_ads(inode, stream_idx, lookup_table);
return ret;
}
+#endif /* !__WIN32__ */
/*
* Reads the alternate data stream entries of a WIM dentry.