git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] cc5e1bf992 (gettext: avoid initialization if the locale dir is not present, 2018-04-21) changed the way the gettext initialization is done skipping most of it for performance reasons if the locale directories wouldn't exist.

From
Carlo Arenas <carenas@gmail.com>
Date
Aug 7, 2019, 10:18 UTC
Message-ID
<CAPUEspgoPizN5mnBJjeUVdmTtsJ4NCrd-gMWcqaghoBqG7Sp+A@mail.gmail.com>
In-Reply-To
<20190807095322.8988-1-carenas@gmail.com>

Subject was meant to be "gettext: fix is_utf8_locale() when not using NO_GETTEXT" and affects mainly PCRE by using UTF-8 flag even when the locale was ISO.

somehow it doesn't break any tests though, but PCRE strongly advices against doing both UTF and chartables and we might end up doing that more often, because of this.

Carlo

PS. apologize for the badly formatted patch, don't think this needs to be fixed in maint, eventhough the patch is based on it with the most likely to be affected being developers (or automated tests)

Previous: Carlo Marcelo Arenas Belón
Message 2 of 2 in “cc5e1bf992 (gettext: avoid initialization if the locale dir is not present, 2018-04-21) changed the way the gettext initialization is done skipping most of it for performance reasons if the locale directories wouldn't exist.”
  1. cc5e1bf992 (gettext: avoid initialization if the locale dir is not present, 2018-04-21) changed the way the gettext initialization is done skipping most of it for performance reasons if the locale directories wouldn't exist.Carlo Marcelo Arenas Belón, Aug 7, 2019
  2. Carlo ArenasAug 7, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.