From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 1F9F220D61 for ; Tue, 28 Jan 2025 16:00:03 +0100 (CET) Received: (qmail 20007 invoked by uid 550); 28 Jan 2025 14:59:59 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com x-ms-reactions: disallow Received: (qmail 1643 invoked from network); 28 Jan 2025 11:26:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1738063559; bh=4MjU99ZzbOmuszKIyporSx6TnHwpJDGlUKoQVyavurQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RWnYhSgZMLSpjqHgsblyXOuT64nsjFLPEqmS6mehvzXzVhaT9o0zLC0OVda8MWTNV 98QUWsmfpvoOltP/7KempyMcNtSYvtpTkltKmb8sdCi7pIDKcFXUTY8iGskzYMf0Cv vVFI5888at2sg6gCCxOiU4NKXWouYH1FBCdwCoAaUmu4AlXwS9BLa/HXH9t8ZwRbcI 3EN48j8YZY2juNkMDZXIyWCYrqFCiT690r12aQOcBauX4U58jGKjHDp5k9MPUZl4z+ EAkvxU2kHYVAetHIFRzF5kSjALjlD7vRtIJ/PyEb/VwL8ksOcq+nz1o+kF9MgQD8/f vxIoWdKeQEVfg== Date: Tue, 28 Jan 2025 12:26:17 +0100 From: Patrice Dumas To: Gavin Smith Cc: Rich Felker , musl@lists.openwall.com Message-ID: References: <20250112045105.GI10433@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [musl] gettext LC_MESSAGES differences from other libc On Tue, Jan 21, 2025 at 08:43:16PM +0000, Gavin Smith wrote: > > If you just want to process .mo files without going thru the locale > > system, the necessary code is about 42 source lines/329 machine code > > bytes that's MIT-licensed in musl that you're free to copy. This > > probably makes the most sense. > > Thanks for the suggestion. It is possible that we will end up doing > this, if the current approach has more problems. As a side note, I discussed with Guido Flohr, the maintainer of libintl-perl in 2011 about this specific issue, as there is the same issue from Perl when trying to use a language independent from the locale. At that time, he said that he had something in progress for a more low-level and direct access to .mo files, but so far it did not materialize. -- Pat