[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] posix: User scratch_buffer on fnmatch
From: |
Florian Weimer |
Subject: |
Re: [PATCH 1/2] posix: User scratch_buffer on fnmatch |
Date: |
Mon, 04 Jan 2021 21:35:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
* Adhemerval Zanella via Libc-alpha:
> It removes the alloca usage on the string convertion to wide characters
> before calling the internal function.
We have a downstream-only patch to fall back the single byte handling in
case of multibyte decoding failure. Basically it's a quick hack to fix
this bug:
<https://sourceware.org/bugzilla/show_bug.cgi?id=14185>
Is this something we should upstream? Or rework fnmatch so that * is
matched properly against arbitrary bytes?
Thanks,
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