On 05/27/11 15:23, Christoph Anton Mitterer wrote:
> I've seen this issue again now using diff 3.0 from Debian sid (see the
> attached log file output.
Is the problem reproducible?
Can you show how to reproduce the problem?
A quick look at the code did find one problem in this area,
though it may not be your problem. Does the following patch fix
things for you?
--- a/src/dir.c
+++ b/src/dir.c
@@ -161,9 +161,7 @@ compare_names (char const *name1, char const *name2)
return r;
}
- return (ignore_file_name_case
- ? strcasecmp (name1, name2)
- : file_name_cmp (name1, name2));
+ return file_name_cmp (name1, name2);
}
/* Compare names FILE1 and FILE2 when sorting a directory.