From 14ec011a3937faee6f4af6ea1655fffdf5691576 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 30 Dec 2012 19:25:19 -0800 Subject: [PATCH] regex: remove unnecessary dependency on localcharset.h * lib/regex_internal.h [!_LIBC]: Don't include localcharset.h; hasn't been needed for years. * modules/regex (Depends-on): Remove localcharset. --- ChangeLog | 5 +++++ lib/regex_internal.h | 3 --- modules/regex | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c1ef33d4d7..9d1a69ba03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-12-30 Paul Eggert + regex: remove unnecessary dependency on localcharset.h + * lib/regex_internal.h [!_LIBC]: Don't include localcharset.h; + hasn't been needed for years. + * modules/regex (Depends-on): Remove localcharset. + regex: revert single-byte change * lib/regexec.c (check_node_accept_bytes): Revert previous change to this function. This was alredy fixed in a different way, at diff --git a/lib/regex_internal.h b/lib/regex_internal.h index 0f6d398c28..b44797a54c 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -27,9 +27,6 @@ #include #include -#ifndef _LIBC -# include "localcharset.h" -#endif #include #include #include diff --git a/modules/regex b/modules/regex index 279f10a10b..8f5eda0612 100644 --- a/modules/regex +++ b/modules/regex @@ -18,7 +18,6 @@ ssize_t alloca-opt [test $ac_use_included_regex = yes] btowc [test $ac_use_included_regex = yes] gettext-h [test $ac_use_included_regex = yes] -localcharset [test $ac_use_included_regex = yes] malloc-gnu [test $ac_use_included_regex = yes] memcmp [test $ac_use_included_regex = yes] memmove [test $ac_use_included_regex = yes] -- 2.39.5