[PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems

Jan Beulich jbeulich@suse.com
Tue Feb 21 09:28:38 GMT 2023


On 21.02.2023 10:02, Clément Chigot wrote:
> On Tue, Feb 21, 2023 at 9:40 AM Jan Beulich <jbeulich@suse.com> wrote:
>> Other than that I'm okay with the change, albeit I'd like to
>> point out that libiberty's filename_cmp() isn't really international-
>> ready (works reliably only for ASCII), and hence there are apparently
>> bigger issues here.
> 
> It's not linked with internationalization, here. The issue is because
> mingw file system is case insensitive, thus line.s and Line.s are
> supposed to be the same file.
> Looking at filename_cmp, it's already handling that.

Sure, and I was pointing this out as a related issue, yet unrelated
to your concern. Clearly in the testsuite we can limit ourselves to
all-ASCII names. But that may not hold for people actually using
binutils on case-insensitive file systems.

Jan


More information about the Binutils mailing list