[PATCH] Fix handling of collating symbols in fnmatch (bug 26620)

Florian Weimer fweimer@redhat.com
Wed Sep 16 11:59:22 GMT 2020


* Andreas Schwab:

> The variable idx contains the index into the extra array, whereas wextra
> points into the extra array at this index, containing the length of the
> following collating sequence in the wide character representation.

Based on the surrounding code, the change looks correct to me.  Thanks
for fixing this.

The test case could use xsetlocale, I think.

Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list