[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regcomp gnulib<=>glibc sync bears fruit
From: |
Paolo Bonzini |
Subject: |
Re: regcomp gnulib<=>glibc sync bears fruit |
Date: |
Tue, 05 Jan 2010 18:47:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
One tweak required: include <langinfo.h> unconditionally:
This cleanup is possible too. Also, the unconditional inclusion of
langinfo.h should be sent to glibc as well.
Before proceeding, however, I'm curious whether using nl_langinfo
(CODESET) is less precise than locale_charset on some platform. Bruno?
Paolo
2010-01-05 Paolo Bonzini <address@hidden>
* lib/regex_internal.h: Remove localcharset.h inclusion.
* modules/regex: Remove localcharset module.
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index f5c3125..125bfed 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -29,9 +29,6 @@
#include <string.h>
#include <langinfo.h>
-#ifndef _LIBC
-# include "localcharset.h"
-#endif
#if defined HAVE_LOCALE_H || defined _LIBC
# include <locale.h>
#endif
diff --git a/modules/regex b/modules/regex
index f516406..9b73537 100644
--- a/modules/regex
+++ b/modules/regex
@@ -16,7 +16,6 @@ alloca
btowc
extensions
gettext-h
-localcharset
malloc
memcmp
memmove
Re: regcomp gnulib<=>glibc sync bears fruit, Jim Meyering, 2010/01/05