Re: doc: Document that glob includes glob_pattern_p.

2024-11-24 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > Now that we have a module index in the documentation, the idiom to use is: > > Gnulib module: glob > @mindex glob > > The module index should reference all locations in the documentation where > the module is mentioned (not just the primary location). Oops,

Re: pgettext compiler error with -O0

2024-11-24 Thread Bruno Haible via Gnulib discussion list
Hi Ben, > Consider adding the following modules/gettext-tests: Thanks for the suggestion. Done through the attached patch. >From 2f2a5bb27baa5623f3229a6215c4b96a573fb9ed Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 24 Nov 2024 19:06:32 +0100 Subject: [PATCH] gettext-h: Add tests. Sug

Re: gettext: pgettext uses LC_MESSAGES but locale.h is not included

2024-11-24 Thread Friedrich Beckmann
Thanks for fixing this problem! > > Thanks for the report. Fixed through the following change:

Re: gettext: pgettext uses LC_MESSAGES but locale.h is not included

2024-11-24 Thread Bruno Haible via Gnulib discussion list
Hi, Friedrich Beckmann wrote: > I noticed a problem when using pgettext on debian testing. When > I compile the following small test program > > #define ENABLE_NLS 1 > #include "lib/gettext.h" > > int test(){ > if (pgettext ("This is", "a bug") == "I guess") > return 1; > } > > I get the