Re: [PATCH/RFC 07/17] gettext.c: work around us not using setlocale(LC_CTYPE, "")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 1, 2010 at 12:45 AM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Ævar Arnfjörð Bjarmason wrote:
>> On Tue, Aug 31, 2010 at 15:18, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
>
>>> Aside, not about this patch: glibc printf can be very convenient for
>>> translators, because of format strings like "%4$s".  Do other common
>>> platforms like FreeBSD and Mingw have something similar?
>>
>> I certainly hope so. I was planning on documenting its usage,
>> Johannes?
>
> Sorry, my knowledge was just outdated.  It's in posix[1] now, which
> I think means we can expect it to be in any recent libc.
>
> Unfortunately msys uses newlib 1.9.0 afaict, from 2001.  The %4$s
> support was introduced[2] to newlib by Eric Blake on 2007-04-25.
>

Git for Windows doesn't use the MSYS-runtime for Git itself, it only
use the MSYS-environment to build etc. It's using MSVCRT.DLL as the
CRT, which is even worse feature-wise.

http://msdn.microsoft.com/en-us/library/56e442dc.aspx describes the
format specification fields supported, and it does not look promising.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]