From mboxrd@z Thu Jan 1 00:00:00 1970 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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31290 invoked from network); 18 Sep 2023 14:18:32 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 18 Sep 2023 14:18:32 -0000 Received: (qmail 13993 invoked by uid 550); 18 Sep 2023 14:18:26 -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 Received: (qmail 13951 invoked from network); 18 Sep 2023 14:18:25 -0000 X-Proofpoint-GUID: GIXGEhKXDAthnaGlwrykFOo3jWvHoAdT X-Proofpoint-ORIG-GUID: GIXGEhKXDAthnaGlwrykFOo3jWvHoAdT X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.601,18.0.980 definitions=2023-09-18_08:2023-09-18,2023-09-18 signatures=0 X-Proofpoint-Spam-Details: rule=interactive_user_notspam policy=interactive_user score=0 bulkscore=0 phishscore=0 adultscore=0 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309180125 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=A/J8ejqb+PuTEorwiwIwc6IsufwCpZ7BjCPN/I6hKrQ=; b=BQIAuxgdBbDTD0m5oBX4bY69YfQpw1qXojGydEH/J9Wd27WYqb31oiKa/Vg7z6QVRDVn 3t4bsxRuqKQjnFB9e0fe+FvN5zn/VCOBAlLIktuPnzMi5BmCfi/lp6wYhmKQXN817rvV Z/LU2Y+vFwZZZ0wv30Lf8SHl5TO15ePyeZQhYBLcikqtMIp8lA/2R3iK2EPRmTFqz0+N 3nJU0AixULdCh6r/NyTSOKSq942gvIXs3lVPg7IzdJMMecd3Tz0mZhmG1Qap9wCSwdTm jxNYw5UuCVmKHSqM3p9UniEDxEugeH2onzNOnQAsjeNoPQktgwSVHDWc6yV9GJi9QZxk wA== X-Va-A: X-Va-T-CD: cbd8b3b139ec4d8156d22914d8e9389c X-Va-E-CD: 938c8e4fd76e3e013edeb3d41379f883 X-Va-R-CD: 8a2faf3de2027b4a0bc7941d26d4bbde X-Va-ID: 284c1035-8cad-47e4-a5ba-9cf4e8e33aba X-Va-CD: 0 X-V-A: X-V-T-CD: cbd8b3b139ec4d8156d22914d8e9389c X-V-E-CD: 938c8e4fd76e3e013edeb3d41379f883 X-V-R-CD: 8a2faf3de2027b4a0bc7941d26d4bbde X-V-ID: 09119386-86df-4fa2-89fa-d90b6bb25e7e X-V-CD: 0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.601,18.0.980 definitions=2023-09-18_08:2023-09-18,2023-09-18 signatures=0 From: Alastair Houghton Content-type: multipart/alternative; boundary="Apple-Mail=_F1DCC908-8460-4102-A449-42C02D0D53F9" MIME-version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Date: Mon, 18 Sep 2023 15:18:03 +0100 References: <1390B046-C845-406F-8AED-620F2DD16BC0@apple.com> <20230810155115.GT4163@brightrain.aerifal.cx> <267261EB-1DFA-4072-89F0-B62F5DDE5F09@apple.com> To: musl@lists.openwall.com, Rich Felker In-reply-to: <267261EB-1DFA-4072-89F0-B62F5DDE5F09@apple.com> Message-id: <3DD8D02A-0802-494E-B9E8-F00B457B86F6@apple.com> X-Mailer: Apple Mail (2.3774.100.2.1.4) Subject: Re: [musl] setlocale() again --Apple-Mail=_F1DCC908-8460-4102-A449-42C02D0D53F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all (Rich especially though :-)) Has anyone had time to take a look at this? I=E2=80=99d like to make = some progress on this front if possible. Kind regards, Alastair. > On 5 Sep 2023, at 13:57, Alastair Houghton = wrote: >=20 > On 10 Aug 2023, at 16:51, Rich Felker wrote: >>=20 >> On Thu, Aug 10, 2023 at 04:41:38PM +0100, Alastair Houghton wrote: >>> I spent some time today looking at the setlocale() problem and >>> thought I=E2=80=99d put some notes down in an email. >=20 > [snip] >=20 >> At this point, it's been quite a while since I looked at the >> mechanisms. If you'd like to help move this forward, rather than >> starting with a patch, writing a high-level natural language >> description of how you'd make the changes (in terms of musl's current >> internal representation for locale state) would be the most helpful. >> If I'm forgetting and there's already such a good description, just >> digging it up and citing it might be fine. >=20 > I wrote something up here: >=20 > https://gist.github.com/al45tair/15c3ade52b09d0cad67074176ad43e4a >=20 > Let me know what you think; I can update the document there until = we=E2=80=99re happy that we=E2=80=99ve got the right solution, then I = should be able to create a patch and get the relevant permission from my = employer to submit it. >=20 > Kind regards, >=20 > Alastair. >=20 --Apple-Mail=_F1DCC908-8460-4102-A449-42C02D0D53F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi all (Rich = especially though :-))

Has anyone had time to take a = look at this? I=E2=80=99d like to make some progress on this front if = possible.

Kind = regards,

Alastair.

On 5 Sep 2023, at 13:57, Alastair Houghton = <ahoughton@apple.com> wrote:

On = 10 Aug 2023, at 16:51, Rich Felker <dalias@libc.org> = wrote:

On Thu, Aug 10, 2023 at = 04:41:38PM +0100, Alastair Houghton wrote:
I spent some time today looking at the = setlocale() problem and
thought I=E2=80=99d put some notes down in an = email.

[snip]
=
At this = point, it's been quite a while since I looked at the
mechanisms. If you'd = like to help move this forward, rather than
starting with a patch, = writing a high-level natural language
description of how you'd make the changes (in terms of = musl's current
internal representation for locale state) would be the most = helpful.
If I'm forgetting and = there's already such a good description, just
digging it up and citing = it might be fine.

I wrote = something up here:

https://gist.github.com/al45tair/15c3ade52b09d0cad67074176ad43e4a

Let me know what you think; I can update the = document there until we=E2=80=99re happy that we=E2=80=99ve got the = right solution, then I should be able to create a patch and get the = relevant permission from my employer to submit = it.

Kind = regards,

Alastair.


= --Apple-Mail=_F1DCC908-8460-4102-A449-42C02D0D53F9--