summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-04-03 08:20:31 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-04-03 08:22:40 -0700
commit4825b8d70cff23f6ebe0dfa0ab181bc8401007a5 (patch)
treeb42899f91488f774ffb634cb64aa2c819e610706 /NEWS
parent885dfcec001ba7712257e371c4af61914c64133b (diff)
downloaddiffutils-4825b8d70cff23f6ebe0dfa0ab181bc8401007a5.tar.gz
diff: fix bug with Asian file names
Problem reported by Errembault Philippe in: http://lists.gnu.org/archive/html/bug-diffutils/2013-03/msg00012.html * NEWS: Document this. * src/dir.c (compare_names): Fall back on file_name_cmp if compare_collated returns 0, unless ignoring file name case. (diff_dirs): Don't bother with the O(N**2) stuff unless ignoring file name case. * tests/Makefile.am (TESTS): Add strcoll-0-names. * tests/strcoll-0-names: New file.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ac7a75e..79517f2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,13 @@ GNU diffutils NEWS -*- outline -*-
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+ Unless the --ignore-file-name-case option is used, diff now
+ considers file names to be equal only if they are byte-for-byte
+ equivalent. This fixes a bug where diff in an English locale might
+ consider two Asian file names to be the same merely because they
+ contain no English characters.
* Noteworthy changes in release 3.3 (2013-03-24) [stable]