From: Рысь <lynx@sibserver.ru>
To: musl@lists.openwall.com
Subject: Re: Adjustments to roadmap
Date: Mon, 31 Aug 2015 00:21:08 +0700 [thread overview]
Message-ID: <20150831002108.69c832d1@r2lynx> (raw)
In-Reply-To: <20150830053147.GL7833@brightrain.aerifal.cx>
[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]
On Sun, 30 Aug 2015 01:31:47 -0400
Rich Felker <dalias@libc.org> wrote:
> On Sun, Aug 30, 2015 at 12:18:47PM +0700, Рысь wrote:
> > On Thu, 27 Aug 2015 22:43:48 -0400
> > Rich Felker <dalias@libc.org> wrote:
> >
> > > In addition to the above, there are all of the existing roadmap
> > > items on the wiki which are open for discussion of how they
> > > should be prioritized. The big projects are roughly:
> > >
> > > - Atomics refactorization/deduplication
> > > - Bits refactorization/deduplication
> > > - Out-of-tree builds
> > > - LC_COLLATE
> > > - IDN
> > > - Advanced glibc ABI-compat features in dynamic linker
> > > - Documentation
> > >
> > > Apologies for the slow progress lately. Don't worry though,
> > > there's still lots more good stuff to come for musl.
> >
> > How about libc message localization, or MUSL_LOCPATH and msgfmt
> > stuff? You wanted to translate musl messages some time ago and I
> > even did sent a draft before question was abandoned. I also can't
> > get it to work and I don't quite understand the requirements for it.
>
> Yes, that would be great. Can you point me back at the message with
> the draft? I'll take a look again and see if I can get it to work.
>
> Rich
Here it is: http://www.openwall.com/lists/musl/2015/03/17/3 (or
"[musl] libintl: stubs or working functions?" Tue, 17 Mar 2015 13:59:16
+0700)
I don't remember what did not work, I just get back to it again two
days ago - recovered a file attached, compiled with msgfmt, set
environment:
MUSL_LOCPATH=/tmp LC_ALL=ru_RU ./date
and it still prints in English. I had at the time file ru_RU in /tmp
and strace confirmed musl mmaped that file.
I attach "date.c" test program I expected to work.
I probably messed up with msgfmt or something I do not remember now.
[-- Attachment #2: date.c --]
[-- Type: application/octet-stream, Size: 250 bytes --]
#include <stdio.h>
#include <time.h>
#include <locale.h>
int main(void)
{
time_t t;
struct tm tmx;
char B[1024];
setlocale(LC_ALL, "");
time(&t);
localtime_r(&t, &tmx);
strftime(B, sizeof(B), "%c", &tmx);
printf("%s\n", B);
return 0;
}
next prev parent reply other threads:[~2015-08-30 17:21 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 2:43 Rich Felker
2015-08-28 3:38 ` Khem Raj
2015-08-28 4:21 ` Rich Felker
2015-08-28 6:57 ` Вася Бойцов
2015-08-28 12:47 ` Rich Felker
2015-08-28 12:16 ` Justin Cormack
2015-08-28 7:24 ` u-wsnj
2015-08-28 11:39 ` Рысь
2015-08-28 17:18 ` Rich Felker
2015-08-30 4:21 ` Рысь
2015-08-30 4:46 ` Rich Felker
2015-08-30 5:13 ` Рысь
2015-08-30 5:30 ` Rich Felker
2015-08-30 9:00 ` Szabolcs Nagy
2015-08-30 17:09 ` Rich Felker
2015-08-30 17:45 ` u-wsnj
2015-08-30 17:13 ` Рысь
2015-08-30 17:38 ` Rich Felker
2015-08-30 5:18 ` Рысь
2015-08-30 5:31 ` Rich Felker
2015-08-30 17:21 ` Рысь [this message]
2015-08-30 19:29 ` Message localization [Was: Re: [musl] Adjustments to roadmap] Rich Felker
2015-09-01 4:26 ` Рысь
2015-09-01 4:47 ` Rich Felker
2015-09-02 2:26 ` Рысь
2015-09-02 2:28 ` Rich Felker
2015-09-07 13:51 ` Рысь
2015-09-08 15:18 ` Rich Felker
2015-08-31 7:09 ` Adjustments to roadmap 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=20150831002108.69c832d1@r2lynx \
--to=lynx@sibserver.ru \
--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).