From 0f8eae47731e008bd5a79df9f8a5eeb04a0b1d7b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 31 May 2007 22:00:47 +0000 Subject: [PATCH 1/1] Added a TODO comment. --- ignore-case.diff | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ignore-case.diff b/ignore-case.diff index 5824689..91ae734 100644 --- a/ignore-case.diff +++ b/ignore-case.diff @@ -7,6 +7,11 @@ To use this patch, run these commands for a successful build: ./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; @@ -50,7 +55,7 @@ To use this patch, run these commands for a successful build: 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; @@ -59,7 +64,7 @@ To use this patch, run these commands for a successful build: 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; } -- 2.34.1