bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] wchar-single: fix module broken since 2021


From: Paul Eggert
Subject: [PATCH] wchar-single: fix module broken since 2021
Date: Wed, 30 Aug 2023 10:16:56 -0700

Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
GNULIB_WCHAR_SINGLE_LOCALE”.  Apparently nobody noticed that
the module was broken.  Perhaps we should obsolete the module?
* modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define.
---
 ChangeLog            | 8 ++++++++
 modules/wchar-single | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a839600839..702f195ec0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       wchar-single: fix module broken since 2021
+       Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
+       GNULIB_WCHAR_SINGLE_LOCALE”.  Apparently nobody noticed that
+       the module was broken.  Perhaps we should obsolete the module?
+       * modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define.
+
 2023-08-29  Bruno Haible  <bruno@clisp.org>
 
        wctype: Rely on module iswpunct.
diff --git a/modules/wchar-single b/modules/wchar-single
index e047de008b..08f6a85021 100644
--- a/modules/wchar-single
+++ b/modules/wchar-single
@@ -8,6 +8,10 @@ Depends-on:
 wchar
 
 configure.ac:
+AC_DEFINE([GNULIB_WCHAR_SINGLE_LOCALE], [1],
+  [Define to 1 to enable more efficient wchar replacements,
+   where we know the locale charset will not change between calls.])
+dnl For backward compatibility:
 gl_MODULE_INDICATOR([wchar-single])
 
 Makefile.am:
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]