X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=RrsNox2ClWf6BrHF DfP3/K4IrmKFT1t4/g1Vpc+qx0bw13VaBEeY3DwabEPX23iAnXffGST/xu6gAcTK 3AXSrhvAj+yCPao3gN0TCJsWdD1IozDJS6eH2XcLbnx34HC/CMoTVRKvcVbtNKkw RBl48+DZEENlVg1Ezres9ySbrcg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=SJYFsve/D6qrGnz3N2xlgp rmyws=; b=xK0FmDHktyxBYsajBN4Z5VTjIAkYW1fS2SRfi0D62c/Pfl9bmHfSFy 7N8FVB8MxmopnxDyATM40SgCt+g5fTSzgo5mxJm8a3fjAS/4d0qKm7kMkENs+O6l yJHpxaJV+1lTxXozBznShdZQ14n3Uw8DbC2FST+gzHUlcZHJwOQQ8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Sun, 16 Feb 2014 20:23:07 +0400 From: Andrey Repin Reply-To: cygwin AT cygwin DOT 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 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT yandex DOT 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