mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 09:54:25 +00:00
* bootstrap.conf (gnulib_modules): Add builtin-expect. * lib/mbcel-strcasecmp.c: New file. * lib/Makefile.am (libdiffutils_a_SOURCES): Add it. * lib/mbcel.h (MBCEL_LEN_MAX, MBCEL_ENCODING_ERROR_SHIFT) (MBCEL_UCHAR_FITS, MBCEL_UCHAR_EASILY_FITS): New constants. (_GL_LIKELY): New macro. (mbcel_scan): Use it. Simplify NetBSD code. (mbcel_scant, mbcel_scanz, mbcel_cmp, mbcel_casecmp): New functions. * src/dir.c (strcasecoll): Move defn here from system.h, since only dir.c needs it. Use mbcel_strcasecmp instead of strcasecmp.