Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed failing hunks.
[rsync/rsync-patches.git]
/
ignore-case.diff
diff --git
a/ignore-case.diff
b/ignore-case.diff
index
5824689
..
91ae734
100644
(file)
--- 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
./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;
--- 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;
extern int ignore_errors;
extern int numeric_ids;
extern int recurse;
-@@ -245
3,7 +2454
,7 @@ enum fnc_type { t_PATH, t_ITEM };
+@@ -245
4,7 +2455
,7 @@ enum fnc_type { t_PATH, t_ITEM };
int f_name_cmp(struct file_struct *f1, struct file_struct *f2)
{
int dif;
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;
enum fnc_state state1, state2;
enum fnc_type type1, type2;
enum fnc_type t_path = protocol_version >= 29 ? t_PATH : t_ITEM;
-@@ -256
3,7 +2564
,15 @@ int f_name_cmp(struct file_struct *f1, s
+@@ -256
4,7 +2565
,15 @@ int f_name_cmp(struct file_struct *f1, s
if (type1 != type2)
return type1 == t_PATH ? 1 : -1;
}
if (type1 != type2)
return type1 == t_PATH ? 1 : -1;
}