[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fnmatch: rely on more gnulib modules
From: |
Bruno Haible |
Subject: |
fnmatch: rely on more gnulib modules |
Date: |
Fri, 29 May 2020 14:02:42 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
The 'fnmatch' module currently tests for wmemcpy() differently than wmemcpy.m4
does. It also lacks the workarounds from the 'btowc' and 'iswctype' modules.
Therefore here is a proposed patch to let this module use more from gnulib.
Accordingly, the code becomes simpler.
Paul, is this OK from the perspective of a future merge with glibc?
2020-05-29 Bruno Haible <bruno@clisp.org>
fnmatch: Rely on more gnulib modules.
* modules/fnmatch (Depends-on): Add btowc, isblank, iswctype, wmemchr,
wmempcpy, mempcpy.
* lib/fnmatch.c: Assume that HAVE_WCTYPE_H, HAVE_BTOWC, HAVE_ISWCTYPE,
HAVE_WMEMCHR, HAVE_WMEMPCPY, HAVE_ISBLANK, HAVE_DECL_ISBLANK,
HAVE_MEMPCPY are all 1.
* m4/fnmatch.m4 (gl_PREREQ_FNMATCH): Don't test for btowc, isblank,
iswctype, mempcpy, wmemchr, wmemcpy, wmempcpy, <wctype.h>.
0001-fnmatch-Rely-on-more-gnulib-modules.patch
Description: Text Data
- fnmatch: rely on more gnulib modules,
Bruno Haible <=