X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdentry.c;h=58869af4b6b921fb18d84d4fdca302a05a594c66;hp=1c2fd145df9d8d056aa7aec7e2f34d5a4488436a;hb=922ad680d3e260262372fd1a9dad65045ffe6074;hpb=5a11a0ba6142f5f528dd741372e2f8d775170993 diff --git a/src/dentry.c b/src/dentry.c index 1c2fd145..58869af4 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -9,7 +9,7 @@ */ /* - * Copyright (C) 2012 Eric Biggers + * Copyright (C) 2012, 2013 Eric Biggers * * This file is part of wimlib, a library for working with WIM files. * @@ -371,7 +371,7 @@ void calculate_subdir_offsets(struct wim_dentry *dentry, u64 *subdir_offset_p) 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 { @@ -801,8 +801,8 @@ int increment_dentry_refcnt(struct wim_dentry *dentry, void *ignore) /* * 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)