[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Cygwin-1.7 tests [Was: Time for a release]
From: |
Lapo Luchini |
Subject: |
Re: [Monotone-devel] Cygwin-1.7 tests [Was: Time for a release] |
Date: |
Fri, 11 Sep 2009 17:58:52 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090831) |
Zack Weinberg wrote:
> On Fri, Sep 11, 2009 at 8:32 AM, Lapo Luchini <address@hidden> wrote:
>> --- testlib.lua a019d00ccc1a886e692abd143d8d62416d7dbf8e
>> +++ testlib.lua 0c442921922f2a426334d2c38488f2acace48422
>> + os.setlocale("C");
>
> So right above this, we run through a big list of LC_ environment
> variables and set them all to "C". Why is that not good enough?
Not really, because that doesn't change the language the *current*
process was started with, only the environment of child processes.
This is because in order to simulate "sane" usage of filenames it does
translate from user charset to UTF-16, but checks the charset only on
the start of the process... and, some mailing list messages seems to
say, it also intercepts any setlocale call to change it on-the-fly.
Except I couldn't solve it that way, so either lua's os.setlocale does
not call setlocale or that "intercept setlocale" feature was not coded
in the end...
--
Lapo Luchini - http://lapo.it/
“We do what we must because we can.” (videogame "Portal", 2007)
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] Re: Time for a release, (continued)
- [Monotone-devel] Re: Time for a release, Lapo Luchini, 2009/09/09
- [Monotone-devel] Re: Time for a release, Lapo Luchini, 2009/09/10
- Re: [Monotone-devel] Re: Time for a release, Thomas Keller, 2009/09/10
- [Monotone-devel] Re: Time for a release, Lapo Luchini, 2009/09/10
- [Monotone-devel] Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/10
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/10
- Re: [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Thomas Keller, 2009/09/11
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/11
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/11
- Re: [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Zack Weinberg, 2009/09/11
- Re: [Monotone-devel] Cygwin-1.7 tests [Was: Time for a release],
Lapo Luchini <=
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/12
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/12
- [Monotone-devel] Re: Cygwin-1.7 tests [Was: Time for a release], Lapo Luchini, 2009/09/22
- Re: [Monotone-devel] Re: Time for a release, Stephen Leake, 2009/09/10
- [Monotone-devel] Re: Time for a release, Lapo Luchini, 2009/09/13
Re: [Monotone-devel] Time for a release, Zack Weinberg, 2009/09/09
Re: [Monotone-devel] Time for a release, Stephen Leake, 2009/09/10