]> Savannah Git Hosting - gnulib.git/commit
fnmatch: adjust to match glibc fix
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Sep 2020 22:40:20 +0000 (15:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Sep 2020 22:40:35 +0000 (15:40 -0700)
commitc06bbace6ef996131ccd88df0afe679e4ecc078c
tree6d7da243e87480d01ffd5661a322dc5ee9337177
parentf8c23f202d11992182e87736e73929bcc369cc75
fnmatch: adjust to match glibc fix

This fixes handling of collating symbols in fnmatch (glibc bug 26620).
This does not affect Gnulib; it merely keeps Gnulib and glibc
closer together, to help with any eventual merge, by incorporating
a recent glibc patch.  The patch and the following commentary is
by Andreas Schwab.
* lib/fnmatch_loop.c (FCT) [WIDE_CHAR_VERSION]: 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.
ChangeLog
lib/fnmatch_loop.c