./configure (optional if already run)
make
+TODO:
+
+ - Make this code handle multibyte character encodings, and honor the
+ --iconv setting when converting case.
+
--- old/exclude.c
+++ new/exclude.c
@@ -32,6 +32,7 @@ extern int io_error;
extern int ignore_errors;
extern int numeric_ids;
extern int recurse;
-@@ -2453,7 +2454,7 @@ enum fnc_type { t_PATH, t_ITEM };
+@@ -2454,7 +2455,7 @@ enum fnc_type { t_PATH, t_ITEM };
int f_name_cmp(struct file_struct *f1, struct file_struct *f2)
{
int dif;
enum fnc_state state1, state2;
enum fnc_type type1, type2;
enum fnc_type t_path = protocol_version >= 29 ? t_PATH : t_ITEM;
-@@ -2563,7 +2564,15 @@ int f_name_cmp(struct file_struct *f1, s
+@@ -2564,7 +2565,15 @@ int f_name_cmp(struct file_struct *f1, s
if (type1 != type2)
return type1 == t_PATH ? 1 : -1;
}