From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23638 invoked by alias); 16 Feb 2014 16:35:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23619 invoked by uid 89); 16 Feb 2014 16:35:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KAM_THEBAT,RCVD_IN_BL_SPAMCOP_NET,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 16 Feb 2014 16:35:13 +0000 Received: from [91.78.166.180] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WF4gN-0002l4-RM for cygwin@cygwin.com; Sun, 16 Feb 2014 20:35:08 +0400 Received: from [192.168.1.10] (HELO 127.0.0.1) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 16 Feb 2014 16:23:07 -0000 Date: Sun, 16 Feb 2014 16:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1652717721.20140216202307@yandex.ru> To: Corinna Vinschen Subject: Re: New passwd/group handling in Cygwin - test results and observations In-Reply-To: <20140216154403.GV2246@calimero.vinschen.de> References: <20140213143849.GH2246@calimero.vinschen.de> <1717869165.20140214021113@mtu-net.ru> <20140214102044.GX2246@calimero.vinschen.de> <1078913914.20140214155631@mtu-net.ru> <20140214140532.GD2246@calimero.vinschen.de> <1184152333.20140216175202@yandex.ru> <20140216143448.GR2246@calimero.vinschen.de> <20140216151658.GU2246@calimero.vinschen.de> <20140216154403.GV2246@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00428.txt.bz2 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