We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5437f0f + 97d21a9 commit 8e7d166Copy full SHA for 8e7d166
compat/win32/fscache.c
@@ -5,6 +5,7 @@
5
#include "config.h"
6
#include "../../mem-pool.h"
7
#include "ntifs.h"
8
+#include "../../dir.h"
9
10
static volatile long initialized;
11
static DWORD dwTlsIndex;
@@ -101,7 +102,7 @@ static int fsentry_cmp(void *unused_cmp_data,
101
102
/* if list parts are equal, compare len and name */
103
if (fse1->len != fse2->len)
104
return fse1->len - fse2->len;
- return strnicmp(fse1->dirent.d_name, fse2->dirent.d_name, fse1->len);
105
+ return fspathncmp(fse1->dirent.d_name, fse2->dirent.d_name, fse1->len);
106
}
107
108
/*
0 commit comments