Mercurial > hg > octave-lojdl > gnulib-hg
changeset 17242:45ae6ce33a1f
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 30 Dec 2012 19:25:19 -0800 |
parents | f21c2ecfb7d1 |
children | b0688a78cfaf |
files | ChangeLog lib/regex_internal.h modules/regex |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-12-30 Paul Eggert <eggert@cs.ucla.edu> + 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
--- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -27,9 +27,6 @@ #include <string.h> #include <langinfo.h> -#ifndef _LIBC -# include "localcharset.h" -#endif #include <locale.h> #include <wchar.h> #include <wctype.h>
--- a/modules/regex +++ b/modules/regex @@ -18,7 +18,6 @@ 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]