bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] [patch] --ignore-file-name-case


From: Tim Waugh
Subject: [bug-diffutils] [patch] --ignore-file-name-case
Date: Thu, 04 Aug 2011 14:47:34 +0100

Hi,

I had a report that --ignore-file-name-case doesn't work as expected:
  https://bugzilla.redhat.com/show_bug.cgi?id=719001

Here's a patch against 2.8.1 that works for me.  There are two changes:

1. Make compare_names() return 0 if the filenames match
case-insensitively, but keep compare_names_for_qsort() stable.

2. When one argument is a directory and another is not, search within
the directory for a case-insensitive filename match.

Does this approach look acceptable?  If so I can port the patch to 3.0.

Tim.
*/

Attachment: diffutils-ignore-file-name-case.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]