From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [PATCH] Byte-based C locale, draft 1
Date: Sat, 6 Jun 2015 19:10:57 -0400 [thread overview]
Message-ID: <20150606231057.GZ17573@brightrain.aerifal.cx> (raw)
In-Reply-To: <55737684.7020803@gmx.de>
On Sun, Jun 07, 2015 at 12:39:00AM +0200, Harald Becker wrote:
> Hi Rich !
>
> On 06.06.2015 23:40, Rich Felker wrote:
> >Attached is the first draft of a proposed byte-based C locale. The
> >patch is about 400 lines but most of it is context, because it's
> >basically a lot of tiny changes spread out over lots of files.
>
> Sorry for my hopping in. I like musl, but I really dislike all this
> wchar_t and locale management. Ok, I see it is required for POSIX
> compatibility, so I have to accept the existence of this stuff. If
> linking statically, I'm able to avoid most of this and this code
> never gets in, but when linking shared it makes all into the shared
> library (which is my point of criticism).
>
> So I like to see a build switch to disable all this locale stuff,
> assuming just bare char type and sole only C / UTF-8 locale, with a
> minimum on locale overhead (all locale functions should just fail
> except for there very simple / standard usage cases). Is there any
> chance to see such a build switch in the main stream, or do I really
> need to create an maintain a separate patch for this (the hard way)?
I'm not clear whether your comments are about the proposed byte-based
C locale (the patch you're replying to) or about existing code in
musl. Could you be more specific?
Rich
next prev parent reply other threads:[~2015-06-06 23:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-06 21:40 Rich Felker
2015-06-06 22:39 ` Harald Becker
2015-06-06 23:10 ` Rich Felker [this message]
2015-06-06 23:59 ` Harald Becker
2015-06-07 0:24 ` Rich Felker
2015-06-07 23:59 ` Build option to disable locale [was: Byte-based C locale, draft 1] Harald Becker
2015-06-08 0:28 ` Josiah Worcester
2015-06-08 1:57 ` Harald Becker
2015-06-08 2:36 ` Rich Felker
2015-06-08 3:35 ` Harald Becker
2015-06-08 3:51 ` Josiah Worcester
2015-06-08 0:33 ` Rich Felker
2015-06-08 2:46 ` Harald Becker
2015-06-08 4:06 ` Rich Felker
2015-06-09 3:20 ` Isaac Dunham
2015-06-09 4:27 ` Rich Felker
2015-06-07 1:17 ` [PATCH] Byte-based C locale, draft 1 Rich Felker
2015-06-07 2:50 ` Rich Felker
2015-06-13 7:06 ` [PATCH] Byte-based C locale, draft 2 Rich Felker
2015-06-16 4:26 ` Rich Felker
2015-06-16 4:35 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150606231057.GZ17573@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).