This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: New passwd/group handling in Cygwin - test results and observations
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Sun, 16 Feb 2014 20:23:07 +0400
- Subject: Re: New passwd/group handling in Cygwin - test results and observations
- Authentication-results: sourceware.org; auth=none
- References: <20140213143849 dot GH2246 at calimero dot vinschen dot de> <1717869165 dot 20140214021113 at mtu-net dot ru> <20140214102044 dot GX2246 at calimero dot vinschen dot de> <1078913914 dot 20140214155631 at mtu-net dot ru> <20140214140532 dot GD2246 at calimero dot vinschen dot de> <1184152333 dot 20140216175202 at yandex dot ru> <20140216143448 dot GR2246 at calimero dot vinschen dot de> <20140216151658 dot GU2246 at calimero dot vinschen dot de> <20140216154403 dot GV2246 at calimero dot vinschen dot de>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
>> > > > Sorry, I can't provide an easy solution, and afaik this is documented.
>> > > [...]
>> Maybe I have a simple solution. From your other mails I gather you
>> suceeded building your own Cygwin DLL.
I wasn't building cygwin1.dll specifically, but it appears it was actually
doing so as a by-product... :)
>>
>> If you apply this patch:
>>
>> Index: dcrt0.cc
>> ===================================================================
>> RCS file: /cvs/src/src/winsup/cygwin/dcrt0.cc,v
>> retrieving revision 1.453
>> diff -u -p -r1.453 dcrt0.cc
>> --- dcrt0.cc 10 Feb 2014 10:45:50 -0000 1.453
>> +++ dcrt0.cc 16 Feb 2014 15:15:44 -0000
>> @@ -929,14 +929,14 @@ dll_crt0_1 (void *)
>> /* Allocate cygheap->fdtab */
>> dtable_init ();
>>
>> + /* Set internal locale to the environment settings. */
>> + initial_setlocale ();
>> +
>> uinfo_init (); /* initialize user info */
>>
>> /* Connect to tty. */
>> tty::init_session ();
>>
>> - /* Set internal locale to the environment settings. */
>> - initial_setlocale ();
>> -
>> if (!__argc)
>> {
>> PWCHAR wline = GetCommandLineW ();
>>
>> and rebuild your Cygwin DLL, does it make a difference? In theory
>> it should work as expected now even with ru_RU.CP866.
> It works for me when using german umlauts with LANG=de_DE.cp1252, while
> it didn't work before, so I applied this path to CVS.
IC.
Picked the changes from CVS and rebuilding it right now.
...
Done and installed new library. All seems to be in order. Thanks for support!
And patch makes some sense to my untrained eye, too.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 16.02.2014, <20:11>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple