Skip files starting with . also on windows, as the home directory
may be mounted from a server with a proper filesystem.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38737
f5534014-38df-0310-8fa8-
9805f1628bb7
continue;
}
-#ifndef _WIN32
/* skip files starting wih . */
if (name[0] == '.') {
g_free(filename);
continue;
}
-#endif
/* skip anything but files with .lua suffix */
dot = strrchr(name, '.');
- if (dot == NULL || strcmp(dot+1, "lua") != 0) {
+ if (dot == NULL || g_ascii_strcasecmp(dot+1, "lua") != 0) {
g_free(filename);
continue;
}