[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] regex: remove unnecessary dependency on localcharset.h
From: |
Paul Eggert |
Subject: |
[PATCH 3/3] regex: remove unnecessary dependency on localcharset.h |
Date: |
Sun, 30 Dec 2012 19:29:13 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
* 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 c1ef33d..9d1a69b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-12-30 Paul Eggert <address@hidden>
+ 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 0f6d398..b44797a 100644
--- 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>
diff --git a/modules/regex b/modules/regex
index 279f10a..8f5eda0 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]
--
1.7.11.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 3/3] regex: remove unnecessary dependency on localcharset.h,
Paul Eggert <=