Added a TODO comment.
authorWayne Davison <wayned@samba.org>
Thu, 31 May 2007 22:00:47 +0000 (22:00 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 31 May 2007 22:00:47 +0000 (22:00 +0000)
ignore-case.diff

index 5824689..91ae734 100644 (file)
@@ -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;
                }