]> wimlib.net Git - wimlib/blobdiff - src/dentry.c
dentry.c: Comment fix
[wimlib] / src / dentry.c
index 1c2fd145df9d8d056aa7aec7e2f34d5a4488436a..58869af4b6b921fb18d84d4fdca302a05a594c66 100644 (file)
@@ -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)