updated for version 7.3.872
Problem: On some systems case of file names is always ignored, on others
never.
Solution: Add the 'fileignorecase' option to control this at runtime.
Implies 'wildignorecase'.
diff --git a/src/buffer.c b/src/buffer.c
index 5c63899..2a9fe4d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2401,12 +2401,7 @@
if (name != NULL)
{
regmatch.regprog = prog;
-#ifdef CASE_INSENSITIVE_FILENAME
- regmatch.rm_ic = TRUE; /* Always ignore case */
-#else
- regmatch.rm_ic = FALSE; /* Never ignore case */
-#endif
-
+ regmatch.rm_ic = p_fic; /* ignore case when 'fileignorecase' is set */
if (vim_regexec(®match, name, (colnr_T)0))
match = name;
else