bug-diffutils
[Top][All Lists]
Advanced

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

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


From: Jim Meyering
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
Date: Thu, 04 Aug 2011 16:22:10 +0200

Tim Waugh wrote:
> 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.

Hi Tim,

This looks like the bug Paul fixed after 3.0:

  diff no longer reports spurious differences merely because two entries
  in the same directory have names that compare equal in the current
  locale, or compare equal because --ignore-file-name-case was given.



reply via email to

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