Skip to content
Snippets Groups Projects
Commit 400a88ee authored by Greg DiCristofaro's avatar Greg DiCristofaro
Browse files

use strcasecmp for mac linux

parent 06e34a70
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,7 @@ tsk_fs_attrlist_get_name_type(const TSK_FS_ATTRLIST * a_fs_attrlist, ...@@ -342,7 +342,7 @@ tsk_fs_attrlist_get_name_type(const TSK_FS_ATTRLIST * a_fs_attrlist,
fs_attr_ok = fs_attr_cur; fs_attr_ok = fs_attr_cur;
} }
else if ((name) && (fs_attr_cur->name) && fs_attr_cur->type == TSK_FS_ATTR_TYPE_NTFS_DATA && !stricmp(fs_attr_cur->name, name)) { else if ((name) && (fs_attr_cur->name) && fs_attr_cur->type == TSK_FS_ATTR_TYPE_NTFS_DATA && !strcasecmp(fs_attr_cur->name, name)) {
// NTFS data streams should do case insensitive compare // NTFS data streams should do case insensitive compare
// make sure we return the lowest if multiple exist // make sure we return the lowest if multiple exist
if ((fs_attr_ok == NULL) || (fs_attr_ok->id > fs_attr_cur->id)) if ((fs_attr_ok == NULL) || (fs_attr_ok->id > fs_attr_cur->id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment