This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix handling of collating elements in fnmatch (bug 17396, bug 16976)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 09 Jan 2019 15:05:19 +0100
- Subject: Re: [PATCH] Fix handling of collating elements in fnmatch (bug 17396, bug 16976)
- References: <mvmin00844a.fsf@suse.de> <87zhscfq0h.fsf@oldenburg2.str.redhat.com> <mvmo98qezmh.fsf@suse.de>
* Andreas Schwab:
> On Jan 07 2019, Florian Weimer <fweimer@redhat.com> wrote:
>
>>> + /* Compare the wide char sequence. */
>>> + && memcmp (startp + 1, &wextra[1],
>>> + c1 * sizeof (UCHAR)) == 0)
>>
>> Could this use wmemcmp?
>
> That required adding an internal alias.
Oh, sorry, I didn't realize we were missing that.
I believe that due to the freeze, we should go with the original patch
then.
Thanks,
Florian