This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New passwd/group handling in Cygwin - test results and observations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]